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