C4 Engine
C4 Engine API Documentation

class HoleGeometryObject

Defined in:  C4Primitives.h
The HoleGeometryObject class encapsulates data pertaining to a hole primitive.
Definition

class HoleGeometryObject final : public PrimitiveGeometryObject

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

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

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

HoleGeometry