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

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

> 

with⁡geometry:

> 

_EnvHorizontalName≔x:_EnvVerticalName≔y:

> 

circle⁡c,x−32+y−12=4

c

(1)
> 

center⁡c

center_c

(2)
> 

coordinates⁡center⁡o,c

3,1

(3)
> 

center⁡c

o

(4)
> 

detail⁡c

name of the objectcform of the objectcircle2dname of the centerocoordinates of the center3,1radius of the circle4equation of the circlex2+y2−6⁢x−2⁢y+6=0

(5)

See Also

geometry[circle]

geometry[ellipse]

geometry[HorizontalName]

geometry[hyperbola]

geometry[VerticalName]