Facebook Twitter YouTube

class SphereVolume

Defined in:  TSVolumes.h
The SphereVolume class encapsulates data pertaining to a generic sphere volume.
Definition

class SphereVolume : public Volume

Member Functions
SphereVolume::GetSphereSize Returns the sphere size.
SphereVolume::SetSphereSize Sets the sphere size.
Constructor

SphereVolume(const Vector3D& size);

Parameters
size The size of the sphere.
Description
The SphereVolume class encapsulates the physical dimensions of a generic spherical volume and functionality that is used by various subclasses throughout the engine.

The center of the sphere coincides with the origin, and the three components of the size parameter correspond to the radii along the x, y, and z axes.
Base Classes
Volume A SphereVolume is a generic volume.