#include <FCDGeometrySpline.h>
Inheritance diagram for FCDGeometrySpline:
Public Member Functions | |
FCDGeometrySpline (FCDocument *document, FCDGeometry *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDGeometrySpline () |
Destructor. | |
FCDGeometry * | GetParent () |
Retrieves the parent of this geometric spline: the geometry entity. | |
const FCDGeometry * | GetParent () const |
See above. | |
FUDaeSplineType::Type | GetType () const |
Retrieves the type of this geometry spline. | |
bool | SetType (FUDaeSplineType::Type _type) |
Sets the spline type for this geometry spline. | |
size_t | GetSplineCount () const |
Retrieves the number of splines in this geometry spline. | |
size_t | GetTotalCVCount () |
Retrieves the total amount of control vertices in the spline array. | |
FCDSpline * | GetSpline (size_t index) |
Retrieves a pointer to the spline specified by the given index. | |
const FCDSpline * | GetSpline (size_t index) const |
see above | |
FCDSpline * | AddSpline (FUDaeSplineType::Type type=FUDaeSplineType::UNKNOWN) |
Adds a spline to this geometry spline. | |
void | ConvertBezierToNURBS (FCDNURBSSplineList &toFill) |
Converts the Bezier splines in this geometry to a list of NURBS splines. | |
FCDGeometrySpline * | Clone (FCDGeometrySpline *clone=NULL) const |
Copies the spline into a clone. |
A COLLADA spline contains an array of FCDSpline of the same type.
|
Constructor: do not use directly. Use the FCDGeometry::CreateMesh function instead.
|
|
Adds a spline to this geometry spline.
|
|
Copies the spline into a clone. The clone may reside in another document.
|
|
Converts the Bezier splines in this geometry to a list of NURBS splines.
|
|
Retrieves the parent of this geometric spline: the geometry entity.
|
|
Retrieves a pointer to the spline specified by the given index.
|
|
Retrieves the number of splines in this geometry spline.
|
|
Retrieves the total amount of control vertices in the spline array.
|
|
Retrieves the type of this geometry spline.
|
|
Sets the spline type for this geometry spline. Changing the type of a geometry spline that contains sub-splines will clear all its sub-splines.
|