Previous Up Next

27.14.5  Polyhedra

The polyhedron command takes as argument a sequence of points.

polyhedron returns and draws the convex polygon whose vertices are from the list of points such that the remaining points are inside or on the surface of the polyhedron. For example:

polyhedron([0,0,0],[-2,0,0],[2,0,0],[0,2,0],[0,0,2])

Previous Up Next