TruncatedDomeVolume::GetDomeHeight
Defined in:
Returns the truncated dome height.
C4Volumes.h
Prototype
const float& GetDomeHeight(void) const;
Description
The GetDomeHeight
function returns the height of the truncated dome, measuring the distance between the top and bottom faces.The z coordinate of the size returned by the
DomeVolume::GetDomeSize
function is equal to the semiaxis length of the dome as if it were not truncated. This size is equal to h / sqrt(1 − r2), where h is the truncated dome height, and r is the ratio between the dimensions of the top face to the dimensions of the bottom face (the base) of the truncated dome.
See Also