C4 Engine
C4 Engine API Documentation

class ConeVolume

Defined in:  C4Volumes.h
The ConeVolume class encapsulates data pertaining to a generic cone volume.
Definition

class ConeVolume : public Volume

Member Functions
ConeVolume::GetConeSize Returns the cone base size.
ConeVolume::SetConeSize Sets the cone base size.
ConeVolume::GetConeHeight Returns the cone height.
ConeVolume::SetConeHeight Sets the cone height.
Constructor

ConeVolume(const Vector2D& size, float height);

Parameters
size The size of the cone base.
height The height of the cone.
Description
The ConeVolume class encapsulates the physical dimensions of a generic 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 size parameter correspond to the radii along the x and y axes. The height parameter specifies the physical height of the cone along the positive z axis.
Base Classes
Volume A ConeVolume is a generic volume.