This usage can be applied to a triangle, parallelogram, trapezoids, cylinder, cone, pyramid, parallelopiped or frustum.
From the en.wikipedia.org
The same approach shows that a four-dimensional pyramid has 4D volume one quarter the 3D volume of its parallelopiped base times the height, and so on for higher dimensions.