surfmap_Append2DNurbCurveInLoop
surfmap_Append2DNurbCurveInLoop
Adds a 2D curve to the new cropring.
Interface definition
extern "C" __declspec(dllimport) void surfmap_Append2DNurbCurveInLoop(double* cpu, double* cpv, double* curve_weight, int ctrlp_num, int is_curve_rational, int degree, double* knot)
Interface parameters
- int ctrlp_num Number of control points in the curve;
- int is_curve_rational: Is this curve a rational NURBS curve? 0 for non-reasonable B-column curves; 1 for rational NURBS curves;
- int degree : number of curves; ctrlp numZXENTTY0XZ=(degree+1); ctrlp num==(degree+1) the curve is Bezier curve;
- double* knot : the knot vector of the curve. ctrlp num+degree+1 length;
- double* cpu : store the u-direction coordinates of the top of the curve, with a length of ctrlp num;
- double* cpv: store the v-direction coordinates of the top point of the curve control, with a length of ctrlp num;
- double* curve_weight: store the power of the curve control point, with a length of ctrlp num; if the curve is a non-reasonable B-line curve, Curve water can be empty;
Return value
No return value