surfmap_Get2DTrimmingCurve
surfmap_Get2DTrimmingCurve
The given curveid (faceid), the ID (loopid) of the given clipping ring, removes the curveid 2D curve data from the boundary ring.
Interface definition
extern "C" __declspec(dllimport) void surfmap_Get2DTrimmingCurve(int faceid, int loopid, int curveid, int* ctrlp_num, int* degree, double** knot, double** cpu, double** cpv)
Interface parameters
- int faceid : Curvedid;
- int loopid : id of the cropring;
- int curveid : id id on the boundary ring;
- int *ctrlp_num Number of control points in the curve;
- int *degree Number of curves;
- 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;
Return value
No return value