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

Online Help

All Products    Maple    MapleSim


geom3d

  

center

  

find the center of a given geometric object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

center(cn, c)

Parameters

cn

-

(optional) name

c

-

sphere, polyhedron

Description

• 

The routine returns the name of the center of the given sphere, or polyhedron c.

• 

If c is a stellated polyhedron (i.e., geom3d[IsStellated](c) returns true), center(c); returns the center of the core of the given stellated polyhedron.

• 

if c is a facetted polyhedron (i.e., geom3d[IsFacetted](c); returns true), center(c); returns the center of the case of the given facetted polyhedron.

• 

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(geom3d,center) allows the use of the abbreviated form of this command.

Examples

Define a sphere

(1)

(2)

(3)

(4)

(5)

(6)

See Also

geom3d[polyhedra]

geom3d[sphere]

 


Download Help Document