TruncatedConeVolumeclass encapsulates data pertaining to a generic cone volume.
class TruncatedConeVolume : public ConeVolume
||Returns the truncated cone ratio.|
||Sets the truncated cone ratio.|
TruncatedConeVolume(const Vector2D& size, float height, float ratio);
||The size of the cone base.|
||The height of the truncated cone, measuring the distance between the top and bottom faces.|
||The ratio of the dimensions of the top face to the dimensions of the bottom face.|
TruncatedConeVolumeclass encapsulates the physical dimensions of a generic truncated conical volume and functionality that is used by various subclasses throughout the engine.
The center of the base coincides with the origin, and the two components of the
sizeparameter correspond to the radii along the x and y axes. The
heightparameter specifies the distance from the bottom face (the base) to the top face along the positive z axis. The
ratioparameter specifies the ratio of the dimensions of the top face to the dimensions of the bottom face and should be in the range (0,1).