
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. */ ) |

The function successfully initialized the B-spline data structure. | |
One or more of the input arguments are invalid. | |
The degree is greater than the effectively supported maximum (3). | |
The end knots do not have degree + 1 multiplicity. |


