next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Polyhedra :: facesAsPolyhedra

facesAsPolyhedra -- Returns the faces of a polyhedron as actual polyhedra.

Synopsis

Description

While faces returns a list of lists of indices for the vertices that make up the codimension n faces, this gives a list of actual polyhedra. It is just a small wrapper around faces. Whenever possible, use faces instead.

i1 : facesAsPolyhedra(1, hypercube 2)

o1 = {Polyhedron{...1...}, Polyhedron{...1...}, Polyhedron{...1...},
     ------------------------------------------------------------------------
     Polyhedron{...1...}}

o1 : List

Ways to use facesAsPolyhedra :