#include <FCDGeometrySpline.h>
Inheritance diagram for FCDLinearSpline:
Public Member Functions | |
FCDLinearSpline (FCDocument *document) | |
Constructor. | |
virtual | ~FCDLinearSpline () |
Destructor. | |
virtual FUDaeSplineType::Type | GetSplineType () const |
FCDSpline method implementation. | |
bool | AddCV (const FMVector3 &cv) |
Adds a CV to a Linear spline. | |
void | ToBezier (FCDBezierSpline &toFill) |
Convert the linear segments contained inside this linear spline into Bezier segments. | |
virtual bool | IsValid () const |
Determines if the spline is valid. |
Linear splines are, like the Bezier splines, represented as an array of adjacent linear segment. Each segment consisting of 2 control vertices, the last one being reused as the first vertex of the next segment. If the spline is closed, the first vertex is also reused for the last vertex of the last segment.
|
Constructor.
|
|
Adds a CV to a Linear spline.
|
|
FCDSpline method implementation.
Implements FCDSpline. |
|
Determines if the spline is valid.
|
|
Convert the linear segments contained inside this linear spline into Bezier segments.
|