Class to build a 2D circle arc. More...
#include <MeshViz/graph/PoCircleArcCtrPtAngle.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoCircleArcCtrPtAngle () | |
PoCircleArcCtrPtAngle (const SbVec2f &_center, const SbVec2f &_startPoint, float _angle) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFVec2f | center |
SoSFVec2f | startPoint |
SoSFFloat | angle |
This class builds a circle arc in the plane XY. The circle arc is defined by its center, a start point and an angle.
arcType | OPENED |
center | 0 0 |
startPoint | 1 0 |
angle | 2PI |
PoCircleArcCtrPtAngle::PoCircleArcCtrPtAngle | ( | ) | [inline] |
Default constructor.
PoCircleArcCtrPtAngle::PoCircleArcCtrPtAngle | ( | const SbVec2f & | _center, | |
const SbVec2f & | _startPoint, | |||
float | _angle | |||
) | [inline] |
Constructor.
static const SoNodekitCatalog* PoCircleArcCtrPtAngle::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoCircleArc.
static SoType PoCircleArcCtrPtAngle::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoCircleArc.
virtual const SoNodekitCatalog* PoCircleArcCtrPtAngle::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoCircleArc.
virtual SoType PoCircleArcCtrPtAngle::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoCircleArc.
virtual void PoCircleArcCtrPtAngle::rebuild | ( | ) | [virtual] |
Arc angle.
2PI by default.
Circle center.
(0,0) by default.
Start point of the arc.
(1,0) by default.