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

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

geom3d

center

find the center of a given geometric object

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

>

withgeom3d:

Define a sphere

>

spheres,x2+y2+z2+x+y+z3=0,x,y,z,centername=o

s

(1)
>

centers

o

(2)
>

coordinates

12,12,12

(3)
>

centero1,s

o1

(4)
>

centers

o1

(5)
>

coordinates

12,12,12

(6)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /