JugiMap Framework
|
The bezier shape. More...
#include <jmVectorShapes.h>
Inherits GeometricShape.
Public Member Functions | |
bool | IsValid () override |
Returns true if this shape is a valid geometric object; otherwise returns false. More... | |
void | RebuildPath () override |
Rebuild the path from the current shape geometry. More... | |
![]() | |
ShapeKind | GetKind () |
Returns the kind of this shape. More... | |
bool | IsClosed () |
Returns true if this shape is a closed geometric object; otherwise returns false. More... | |
void | _SetClosed (bool _closed) |
Set the closed parameter when you create a geometric shape by hand. Do not change it for existing shapes! More... | |
std::vector< TShapePoint > & | GetPath () |
Returns a reference to the path vector of this geometric shape. More... | |
float | GetPathLength () |
Returns the length of the path. More... | |
virtual Vec2f | GetPathPoint (float p) |
Returns a point along the path at the given parametric position p. More... | |
virtual Vec2f | GetPathPoint (float p, float &directionAngle) |
Returns a point along the path at the given parametric position p. More... | |
Additional Inherited Members | |
![]() | |
static GeometricShape * | Copy (GeometricShape *_geomShape) |
Create a new geometric object which is a copy of the given *_geomShape*. More... | |
static void | Assign (GeometricShape *sSrc, GeometricShape *sDst) |
Assign the content of the given sSrc to the sDst. More... | |
The bezier shape.
|
inlineoverridevirtual |
Returns true if this shape is a valid geometric object; otherwise returns false.
This function is usually called from the VectorShape::IsValid.
Implements GeometricShape.
|
overridevirtual |
Rebuild the path from the current shape geometry.
This function is usually called from the VectorShape::RebuildPath.
Implements GeometricShape.