polytope: Polytope Methods
Allowed options:
FACET => projection facet index (default: 0)
ZOOM => zoom factor (rational or double)
Allowed attributes:
EdgeColor , EdgeStyle , FacetColor , FacetLabels , FacetStyle , Hidden , Name , PointColor , PointLabels , PointStyle , VertexColor , VertexLabels , VertexStyle
Allowed attributes:
EdgeColor , EdgeStyle , FacetColor , FacetStyle , Hidden , Name , PointColor , PointLabels , PointStyle , VertexColor , VertexLabels , VertexStyle
Determine the number of flags of a given type.
type must belong to [0..
DIM -1].
prettily prints the cd-index
Dump the face lattice to the standard output.
The output is ordered by dimension. Each row starts with [
-k :
fd-k ],
where
k is the co-dimension, and
fd-k the number of faces
(as in
F_VECTOR .) The faces are represented as lists of vertex indices.
They appear lexicographically sorted.
Dual to
FACE_LATTICE . The dual faces are represented
as lists of facet indices
Visualize a polytope as a solid object (when 2-d or 3-d), or as a Schlegel diagram (4-d).
Visualize the dual polytope as a solid 3-d object. The polytope must be
BOUNDED and
CENTERED .
Returns: Visual::Polytope
Hint: Use the method
Method -> Effect -> Explode Group of Geometries
of
JavaView for better insight in the internal structure.
Returns: Visual::Polygons
Create a SchlegelDiagram object.
The projection ray will join the vertex barycenters of the polytope
and the projection facet.
Default zoom factor is 9/10.
Create a Schlegel diagram and draw it.
Visualize the
GRAPH of a polyhedron.
Returns: Visual::Graph
Visualize the
HASSE_DIAGRAM of a polyhedron as a multi-layer graph.
Generate the Gale diagram of a d -polyhedron with at most d+4 vertices.
Returns: Visual::Gale
Create a SchlegelDiagram object.
The projection ray will connect the Steiner points of the polytope
and the projection facet.
Default zoom factor is 1/2.
Draw a Voronoi diagram.