surfmap_AppendNurbsData
surfmap_AppendNurbsData
Add an original NURBS curve.
Interface definition
extern "C" __declspec(dllimport) void surfmap_AppendNurbsData(double* surf_cpx, double* surf_cpy, double* surf_cpz, double* surf_weight, int u_num, int v_num,
int is_surf_rational, int u_degree, int v_degree, double* u_knot, double* v_knot)
Interface parameters
- int u_num : Number of control points on the curve in U direction;
- int v_num: Number of control points on the curve in V direction;
- int u_degree: Number of curves in U direction;
- int v_degree: Number of curves in V direction;
- int is_surf_rational: Whether the Curve is a Rational NURBS Curve. 0 for the rarity B syllable; 1 for the rarity NURBS syllable;
- double* u_knot: Curve knot vector in U direction, length u num+u delee+1
- double* v_knot: Curved knot vector in V direction, v num+v delee+1
- double* surf_cpx: x-weight coordinates of the curve control point, length of u num*v num, in the direction of v;
- double* surf_cpy: y-weight coordinates of the curve control point, length of u num*v num, arranged in v direction;
- double* surf_cpz: z-weight coordinates of the warp control point, length of u num*v num, arranged in the direction of v;
- double* surf_weight(i) A weight on the curve control point, with a length of u num*v num, arranged in the direction of v; if the curve is a sane B line, the value can be empty;
Return value
No return value