Class to build a 2D circle arc. More...
#include <MeshViz/graph/PoCircleArcThreePts.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoCircleArcThreePts () | |
PoCircleArcThreePts (const SbVec2f &_startPoint, const SbVec2f &_middlePoint, const SbVec2f &_endPoint) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFVec2f | startPoint |
SoSFVec2f | middlePoint |
SoSFVec2f | endPoint |
This class builds a circle arc in the plane XY. The circle arc is defined by three points: the start point, the middle point and the end point.
arcType | OPENED |
startPoint | 1 0 |
middlePoint | -1 0 |
endPoint | 1 0 |
PoCircleArcThreePts::PoCircleArcThreePts | ( | ) | [inline] |
Default constructor.
PoCircleArcThreePts::PoCircleArcThreePts | ( | const SbVec2f & | _startPoint, | |
const SbVec2f & | _middlePoint, | |||
const SbVec2f & | _endPoint | |||
) | [inline] |
Constructor.
static const SoNodekitCatalog* PoCircleArcThreePts::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoCircleArc.
static SoType PoCircleArcThreePts::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoCircleArc.
virtual const SoNodekitCatalog* PoCircleArcThreePts::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoCircleArc.
virtual SoType PoCircleArcThreePts::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoCircleArc.
virtual void PoCircleArcThreePts::rebuild | ( | ) | [virtual] |
End point of the arc.
(1,0) by default.
Intermediate point of the arc.
(-1,0) by default.
Start point of the arc.
(1,0) by default.