C4 Engine
C4 Engine API Documentation

TruncatedDomeVolume::GetDomeHeight

Defined in:  C4Volumes.h
Returns the truncated dome height.
Prototype

const float& GetDomeHeight(voidconst;

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

TruncatedDomeVolume::SetDomeHeight