Macaulay2 » Documentation
Packages » Polyhedra :: facesAsPolyhedra
next | previous | forward | backward | up | index | toc

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 :

For the programmer

The object facesAsPolyhedra is a method function.