The VectorShape class defines the vector shape from JugiMap Editor.
More...
#include <jmVectorShapes.h>
The VectorShape class defines the vector shape from JugiMap Editor.
The VectorShape serves as a wrapper for a more lightweight GeometricShape object and is its owner.
◆ VectorShape() [1/4]
◆ VectorShape() [2/4]
Create a vector shape with the given data parameters *_probe*, *_dataFlags* and *_parameters*.
A geometric shape must be set before this vector shape will be ready to use.
◆ VectorShape() [3/4]
Create a vector shape with the given *_geomShape*.
◆ VectorShape() [4/4]
◆ ~VectorShape()
◆ GetGeometricShape()
Returns the geometric shape of this vector shape.
◆ SetGeometricShape()
Set the geometric shape of this vector shape to *_geomShape*.
◆ GetKind()
Returns the kind of this shape.
◆ GetDataFlags()
Returns the data flags of this vector shape.
◆ GetParameters()
Returns a reference to the vector of data parameters in this vector shape.
◆ GetPathLength()
Returns the length of this vector shape.
◆ GetPathPoint() [1/2]
Vec2f GetPathPoint |
( |
float |
r | ) |
|
|
inline |
Returns a point along the path at the given parametric position r.
◆ GetPathPoint() [2/2]
Vec2f GetPathPoint |
( |
float |
r, |
|
|
float & |
directionAngle |
|
) |
| |
|
inline |
Returns a point along the path at the given parametric position r.
◆ IsValid()
Returns true if this vector shape has a geometric object which is valid; otherwise returns false.
◆ IsClosed()
Returns true if this vector shape has a geometric object which is closed; otherwise returns false.
The documentation for this class was generated from the following files:
- C:/Development/JugiMapProject/JugiMapFRM/framework_c++/jugimap/jmVectorShapes.h
- C:/Development/JugiMapProject/JugiMapFRM/framework_c++/jugimap/jmVectorShapes.cpp