surfmap_GetNurbs
surfmap_GetNurbs
This function generates a triangle grid。
Interface definition
extern "C" __declspec(dllimport) bool surfmap_GetNurbs(int faceid, int* u_num, int* v_num, int* u_degree, int* v_degree, double** u_knot, double** v_knot, double** cpx, double** cpy, double** cpz)
Interface parameters
- int faceid : Curvedid;
- 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;
- double** u_knot: Curves in U-directed knot vector with u num+u delee+1 length;
- double** v_knot: Curvature knot vector in V direction, v num+v delee+1 length;
- double** cpx: x-weight coordinates of the curve control point, length of u num*v num, in the direction of v;
- double** cpy: y-weight coordinates of the curve control point, length of u num*v num, arranged in v direction;
- double** cpz: z-weight coordinates of the warp control point, length of u num*v num, arranged in the direction of v;
Return value
No return value