center - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


geometry

  

center

  

find the center of a circle, an ellipse, or a hyperbola

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

center(cn, c)

Parameters

cn

-

(optional) name

c

-

circle, ellipse, or hyperbola

Description

• 

The routine returns the name of the center of the given circle, ellipse or hyperbola c

• 

The center cn of an ellipse or a hyperbola c is the midpoint of the line segment joining the foci.

• 

If the first optional argument cn is given, the name of the center c becomes cn

• 

Use coordinates or detail for more details on the center.

• 

The command with(geometry,center) allows the use of the abbreviated form of this command.

Examples

withgeometry:

_EnvHorizontalNamex:_EnvVerticalNamey:

circlec,x32+y12=4

c

(1)

centerc

center_c

(2)

coordinatescentero,c

3,1

(3)

centerc

o

(4)

detailc

name of the objectcform of the objectcircle2dname of the centerocoordinates of the center3,1radius of the circle4equation of the circlex2+y26x2y+6=0

(5)

See Also

geometry[circle]

geometry[ellipse]

geometry[HorizontalName]

geometry[hyperbola]

geometry[VerticalName]