The constructor for the PolytopeC class.
The polytope's element list.
The constructionNode representing how the polytope was built.
Calculates the circumcenter of the polytope.
Either the circumcenter of the polytope, or null if it doesn't exist.
Converts the edge representation of the i-th face to an ordered array of vertices.
The selected face's index.
An array with the indices of the vertices of the i-th face in order.
Gets the polytope's name from its ConstructionNode
.
The polytope's name.
Calculates the centroid of a polytope.
The centroid of the polytope.
Places the gravicenter of the polytope at the origin.
The recentered polytope.
Scales a polytope up or down.
The scaling factor.
The scaled polytope.
Sets the ConstructionNode of a polytope.
The new ConstructionNode.
Makes every vertex have a set number of coordinates either by adding zeros or removing numbers.
The new number of coordinates for each vertex.
Ensures that we can always correctly call toPolytopeC on a polytope.
The polytope, unchanged.
Generated using TypeDoc, the 1/31/2021 at 6:18:55 AM
Stores a polytope in its "combinatorial" representation: as an array of elements sorted by rank. The first entry is the array of
Points
, subsequent entries store the elements as the sets of the indices their facets are stored in. This representation mirrors closely the OFF file format.