Close
Close window
facet - 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

facet

define a faceting of a given polyhedron

Calling Sequence

facet(gon, case, n)

Parameters

gon

-

the name of the facetted polyhedron to be created

case

-

the case polyhedron

n

-

non-negative integer

Description

The case of a star-polyhedron or compound is the smallest convex solid that can contain it. The star-polyhedron or compound may be constructed by faceting its case which involves removal of solid pieces. Note that it can also be constructed by stellating its core. See the geom3d:-stellate command for more information.

Maple currently supports faceting process to the five polyhedra: octahedron, cuboctahedron, icosidodecahedron, small rhombicuboctahedron and small rhombiicosidodecahedron.

For the octahedron, there are two values of n: 0 and 1.

For the other four polyhedra, there are three values of n: 0, 1 and 2.

To access the information relating to a facetted polyhedron gon, use the following function calls:

center(gon);

returns the center of the case polyhedron case.

faces(gon);

returns the faces of gon, each face is represented

as a list of coordinates of its vertices.

form(gon);

returns the form of gon.

schlafli(gon);

returns the Schlafli symbol of gon.

vertices(gon);

returns the coordinates of vertices of gon.

Examples

>

withgeom3d:

Define the 1-st faceting of a cuboctahedron with center (0,0,0) radius 2

>

faceti1,cuboctahedronc,pointo,0,0,0,2,1

i1

(1)
>

coordinatescenteri1

0,0,0

(2)
>

formi1

facetted_cuboctahedron3d

(3)
>

schlaflii1

facetted3,4

(4)

Plotting:

>

drawi1,style=patch,orientation=145,132,lightmodel=light4,shading=XY,title=`facetted cuboctahedron - 1`


Download Help Document

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