C4 Engine
C4 Engine API Documentation

class AnnulusGeometryObject

Defined in:  C4Primitives.h
The AnnulusGeometryObject class encapsulates data pertaining to an annulus primitive.
Definition

class AnnulusGeometryObject final : public PrimitiveGeometryObject

Member Functions
AnnulusGeometryObject::GetInnerSize Returns the inner hole size.
AnnulusGeometryObject::SetInnerSize Sets the inner hole size.
AnnulusGeometryObject::GetOuterSize Returns the outer disk size.
AnnulusGeometryObject::SetOuterSize Sets the outer disk size.
Constructor

AnnulusGeometryObject(const Vector2D& inner, const Vector2D& outer);

Parameters
inner The size of the inner hole.
outer The size of the outer disk.
Description
The AnnulusGeometryObject class encapsulates data pertaining to an annulus primitive. In its local coordinate space, an annulus primitive lies in the x-y plane with the center at the origin. The components of the inner parameter define the semiaxis lengths of the inner hole in the x and y directions, and the components of the outer parameter define the semiaxis lengths of the outer disk in the x and y directions.
Base Classes
PrimitiveGeometryObject An AnnulusGeometryObject is an object that can be shared by multiple annulus geometry nodes.
See Also

AnnulusGeometry