geom3d
faces
return the faces of a polyhedron
Calling Sequence
Parameters
Description
Examples
faces(obj)
obj
-
polyhedron
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.
with⁡geom3d:
Define a tetrahedron with center (0,0,0), radius of the circum-sphere 2
tetrahedron⁡t,point⁡o,0,0,0,2
t
faces⁡t
2⁢33,2⁢33,2⁢33,2⁢33,−2⁢33,−2⁢33,−2⁢33,2⁢33,−2⁢33,2⁢33,2⁢33,2⁢33,−2⁢33,−2⁢33,2⁢33,2⁢33,−2⁢33,−2⁢33,2⁢33,2⁢33,2⁢33,−2⁢33,2⁢33,−2⁢33,−2⁢33,−2⁢33,2⁢33,2⁢33,−2⁢33,−2⁢33,−2⁢33,−2⁢33,2⁢33,−2⁢33,2⁢33,−2⁢33
See Also
geom3d[polyhedra]
geom3d[vertices]
Download Help Document