>>I would need to re-read some math books. Out of the top of my head I can write a formula for cylinder's volume and not sure about the rest.
>
>Volume for "simple" shapes are always defined as base area times height.
>Einar
And the definition of "simple" is "whatever has a pair of equal, flat and parallel bases and sides have a common set of parallel tangents from any point". So this works for skewed and/or ellyptic cylinders, prisms of any base (any polygon would do) etc, but not for cones, balls, pyramids etc.