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

## Synopsis

• Usage:
fP = facesAsPolyhedra(n,P)
• Inputs:
• P, ,
• n, an integer, codimension of the faces
• Outputs:

## 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 :

• "facesAsPolyhedra(ZZ,Polyhedron)"

## For the programmer

The object facesAsPolyhedra is .