#include <FCDGeometrySpline.h>
Inheritance diagram for FCDBezierSpline:
Public Member Functions | |
FCDBezierSpline (FCDocument *document) | |
Constructor. | |
virtual | ~FCDBezierSpline () |
Destructor. | |
virtual FUDaeSplineType::Type | GetSplineType () const |
FCDSpline method implementation. | |
bool | AddCV (const FMVector3 &cv) |
Adds a CV to a Bezier spline. | |
void | ToNURBs (FCDNURBSSplineList &toFill) const |
Creates one NURB per Bezier segment and appends it to the provided NURB list. | |
virtual bool | IsValid () const |
Determines if the spline is valid. |
The Bezier spline is represented as an array of adjacent cubic Bezier segments. Each segment consists of 4 control vertices, the last one being reused as the first vertex of the next segment. If the spline is closed, the first control vertex is also reused for the last vertex of the last segment.
|
Constructor.
|
|
Adds a CV to a Bezier spline.
|
|
FCDSpline method implementation.
Implements FCDSpline. |
|
Determines if the spline is valid.
|
|
Creates one NURB per Bezier segment and appends it to the provided NURB list.
|