Library | File

Class pfcBSplineDescriptor

# include <pfcGeometry.h>

class pfcBSplineDescriptor
 : public virtual pfcCurveDescriptor
{
    xdeclare(pfcBSplineDescriptor)
    ...
};
This is a COMPACT class.



Description

A data object representing the geometry of a non-uniform rational B-spline curve.



Method Summary

static pfcBSplineDescriptor_ptrCreate (xint Degree, pfcBSplinePoints_ptr Points, xrealsequence_ptr Knots)
This method creates a new BSplineDescriptor object.
xintGetDegree ()
voidSetDegree (xint value)
The basis function's degree
xrealsequence_ptrGetKnots ()
voidSetKnots (xrealsequence_ptr value)
The array of knots on the parameter line
pfcBSplinePoints_ptrGetPoints ()
voidSetPoints (pfcBSplinePoints_ptr value)
The array of control points


Methods Inherited from Class pfcCurveDescriptor:

GetCurveType



Method Detail

xintGetDegree ()
voidSetDegree (xint value)

The basis function's degree




pfcBSplinePoints_ptrGetPoints ()
voidSetPoints (pfcBSplinePoints_ptr value)

The array of control points




xrealsequence_ptrGetKnots ()
voidSetKnots (xrealsequence_ptr value)

The array of knots on the parameter line




static pfcBSplineDescriptor_ptrCreate (xint Degree, pfcBSplinePoints_ptr Points, xrealsequence_ptr Knots)

This method creates a new BSplineDescriptor object.
Parameters:
Degree
The B-Spline degree
Points
The array of control points
Knots
The array of knots
Returns:
The new BSplineDescriptor object