Synopsis
PDX_MSGT gdx_RefineKnotsCurve(long option, T_GDX_NURB_CURVE *cur, double *ref_vec, double knot_tol, int r)
Purpose
Refine a curve's knot vector.
Description
Refine a curve's knot vector; ie. insert the new knots and compute the new set of control points. The pointer cur does not change, but the original curve is destroyed (new control points and knots are allocated).
Input
option
Options (not used).
cur
Pointer to the GDX NURB Curve whose knot vector is to be refined.
ref_vec
Array containing all the new knots to be inserted.
knot_tol
Knot coincidence tolerance.
r
r+1 is the number of knots in ref_vec.
Output
cur
Pointer not changed, but contents of structure pointed to by cur are changed.
Return
GDX_NOERR
Low level error code.
.fi