Builds a cross-polytope with the specified amount of dimensions. Positioned in the standard orientation with edge length 1.
The number of dimensions.
The resulting polytope.
Creates an {n / d} cupolaic blend with regular faces.
The number of faces of the base.
The winding number of the base.
An {n / d} cupolaic blend.
Builds the point polytope.
An instance of the point polytope.
Builds a rectified cross-polytope with the specified amount of dimensions. Positioned in the standard orientation with edge length 1.
The number of dimensions.
The resulting polytope.
Builds a regular polygon with a given edge length.
The number of sides of the regular polygon.
The winding number of the regluar polygon.
The regular polygon.
Builds a Grünbaumian n
/d
star.
The number of sides of the polygon.
The winding number of the polygon.
The resulting polygon.
Builds a semiregular polygon with n
sides and "absolute turning number" d
with some given edge lengths. The absolute turning number is the number d
such that the sum of the angles of the polygon is π(n - 2d)
. The bowtie is generated by the special case of n = 4
, d = 0
, for lack of better parameters.
The number of sides of the semiuniform polygon.
The "absolute turning number", as defined above.
The first edge length of the polygon.
The second edge length of the polygon.
The resulting semiregular polygon.
Simple auxiliary function to get the length of a regular polygon's verf.
The number of sides of the polygon.
The winding number of the polygon.
Generated using TypeDoc, the 1/31/2021 at 6:18:55 AM
Contains methods to build specific polytopes.