rigComponent 0.1.1
RigKit pack API - rigComponent
Loading...
Searching...
No Matches
rigkit::ecs::CArc Struct Reference

Circular or elliptical arc between two angles. More...

#include <rigComponent/src/CArc.h>

Public Member Functions

void setRadius (float r)
 Treat a legacy circular radius as both axes.
float majorRadius () const
 Larger axis - used for tessellation segment heuristics.

Public Attributes

bool pie = false
 Close through the centre instead of chord to chord.

Detailed Description

Circular or elliptical arc between two angles.

Speaks rig.geometry.arc.

Prefer rx / ry. Equal radii give a circle. Legacy documents may only ship radius; hosts map that to both radii on import. Rotation of an elliptical arc belongs on CTransform, not here.


The documentation for this struct was generated from the following file:
  • packs/rigComponent/src/CArc.h