| Description |
| Initializes a B-spline data structure. |
| Synopsis |
| #include <ProCurvedata.h> |
| ProError | ProBsplinedataInit | ( |
| int degree | |
| /*
(In) |
| The basis function's degree. |
| */ |
| double* params | |
| /*
(In) |
| The ProArray of knots on the parameter line. |
| */ |
| double* weights | |
| /*
(In) |
| In the case of rational B-splines, this is a ProArray of the same dimension as the array of c_pnts. Otherwise, this is NULL. |
| */ |
| ProPoint3d* c_pnts | |
| /*
(In) |
| The ProArray of knots on control points. |
| */ |
| int num_knots | |
| /*
(In) |
| The size of the params array. |
| */ |
| int num_c_points | |
| /*
(In) |
| The size of the c_pnts (and weights, if not NULL). |
| */ |
| ProCurvedata* p_curve | |
| /*
(Out) |
| The B-spline data structure. |
| */ |
| ) |
| Returns |
|
|