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

Online Help

All Products    Maple    MapleSim


geom3d

  

faces

  

return the faces of a polyhedron

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

faces(obj)

Parameters

obj

-

polyhedron

Description

• 

The routine faces returns the faces of the given polyhedron.

• 

Each face is represented as a list of coordinates of its vertices which are listed in counter-clockwise order as viewed from outside the polyhedron.

• 

The command with(geom3d,faces) allows the use of the abbreviated form of this command.

Examples

withgeom3d:

Define a tetrahedron with center (0,0,0), radius of the circum-sphere 2

tetrahedront,pointo,0,0,0,2

t

(1)

facest

233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233,233

(2)

See Also

geom3d[polyhedra]

geom3d[vertices]