Pyramid

A pyramid is a polytope constructed by tapering a given polytope (the base) to a point (the apex) along a new dimension. The facets of a pyramid are precisely the base and the pyramids of all of the base's facets.

Any CRF polytope with a circumradius of less than 1 has a CRF pyramid in the next dimension.

The regular simplex of each dimension is the pyramid of the simplex of the previous dimension.

Volume
The hypervolume of a pyramid in n dimensions can be calculated with the formula:


 * V = Ah / n

where A is the hypervolume of the pyramid's base, and h is the pyramid’s height, the distance from its apex to its base’s hyperplane. In 2 and 3 dimensions, this formula simplifies to the familiar formulae for the area of a triangle and the volume of a 3D pyramid, respectively.