Simplex (EntityClass, 14)
From Hi.gher. Space
A simplex is an n-dimensional polytope with n+1 facets and n+1 vertices. Each simplex's element counts, treated as a list and including a single "-1D element" and a single element of its own dimension, read identical to a row of Pascal's triangle.
Simplices are special because they are always convex and are never self-intersecting. Any polytope can be defined as the union of a set of simplices of its own dimension, or as the space bounded by the union of a set of simplices of one dimension less. For these reasons, simplices are often used as "building blocks" in CGI.
Under the elemental naming scheme, simplices are denoted by the pyro- prefix, meaning the classical element of "fire".
Without loss of generality, if one vertex of an n-simplex is chosen to be the origin, and the coordinates of the other n vertices are written as columns of an n×n matrix, then the n-hypervolume of the simplex is the determinant of the matrix divided by n factorial (see Wikipedia article).
Combined with the ability to represent any polytope as a union of simplices mentioned above, this could be used to write an algorithm to determine the hypervolumes of any polytope given its coordinates.
|triangle • tetrahedron • pyrochoron • pyroteron • pyropeton|