In geometry, a hyperpyramid is a generalisation of the normal pyramid to n dimensions.
In the case of the pyramid one connects all vertices of the base (a polygon in a plane) to a point outside the plane, which is the peak.
The pyramid's height is the distance of the peak from the plane.
A point called apex is located outside the hyperplane and gets connected to all the vertices of the polytope and the distance of the apex from the hyperplane is called height.
Here Vn denotes the n-dimensional volume of the hyperpyramid, A the (n – 1)-dimensional volume of the base and h the height, that is the distance between the apex and the (n – 1)-dimensional hyperplane containing the base A.