class DiskGeometry
Defined in:
The C4Primitives.h
DiskGeometry
class represents a disk primitive node in a world.
Definition
class DiskGeometry final : public PrimitiveGeometry
Constructor
DiskGeometry(const Vector2D& size);
Parameters
size |
The size of the disk. |
Description
The DiskGeometry
class represents a disk primitive node in a world. In its local coordinate space, a disk primitive lies in the x-y plane with its center at the origin. The components of the size
parameter define the semiaxis lengths in the x and y directions.When a new disk geometry is created, the corresponding
DiskGeometryObject
is automatically created and referenced by the geometry node.
Base Classes
PrimitiveGeometry |
A disk is a specific type of primitive geometry. |
See Also