class PrimitiveGeometry
Defined in:
The C4Primitives.h
PrimitiveGeometry
class represents a primitive geometry node in a world.
Definition
class PrimitiveGeometry : public Geometry
Member Functions
PrimitiveGeometry::GetPrimitiveType |
Returns the specific type of a primitive geometry. |
Constructor
PrimitiveGeometry(PrimitiveType type);
Parameters
type |
The type of the primitive geometry. See below for a list of possible types. |
Description
The PrimitiveGeometry
class is the base class for all primitive geometry nodes. The type
parameter can be one of the following constants, and it is specified by the subclass's constructor.
kPrimitivePlate |
Planar rectangle primitive. |
kPrimitiveDisk |
Planar disk primitive. |
kPrimitiveHole |
Plate primitive with a hole cut out of the center. |
kPrimitiveAnnulus |
Planar annulus primitive. |
kPrimitiveBox |
Box primitive. |
kPrimitivePyramid |
Pyramid primitive. |
kPrimitiveCylinder |
Cylinder primitive. |
kPrimitiveCone |
Cone primitive. |
kPrimitiveTruncatedCone |
Truncated cone primitive. |
kPrimitiveSphere |
Sphere primitive. |
kPrimitiveDome |
Dome primitive. |
kPrimitiveTorus |
Torus primitive. |
kPrimitiveTube |
Path tube primitive. |
kPrimitiveExtrusion |
Path extrusion primitive. |
kPrimitiveRevolution |
Path revolution primitive. |
Base Classes
Geometry |
A primitive geometry is a specific type of geometry. |
See Also