class TorusGeometryObject
Defined in:
The C4Primitives.h
TorusGeometryObject
class encapsulates data pertaining to a torus primitive.
Definition
class TorusGeometryObject final : public PrimitiveGeometryObject
Member Functions
TorusGeometryObject::GetPrimarySize |
Returns the primary size of a torus. |
TorusGeometryObject::SetPrimarySize |
Sets the primary size of a torus. |
TorusGeometryObject::GetSecondaryRadius |
Returns the secondary radius of a torus. |
TorusGeometryObject::SetSecondaryRadius |
Sets the secondary radius of a torus. |
Constructor
TorusGeometryObject(const Vector2D& primary, float secondary);
Parameters
primary |
The primary size of the torus. |
secondary |
The secondary radius of the torus. |
Description
The TorusGeometryObject
class encapsulates data pertaining to a torus primitive. In its local coordinate space, a torus primitive has its center at the origin. The components of the primary
parameter define the primary semiaxis lengths of the torus in the x-y plane, and the secondary
parameter defines the secondary radius of the torus about the primary ring.
Base Classes
PrimitiveGeometryObject |
A TorusGeometryObject is an object that can be shared by multiple torus geometry nodes.
|
See Also