HC_DEdit_NURBS_Curve

void HC_DEdit_NURBS_Curve(Key key, int cp_offset, int knot_offset, int cp_count, int knot_count, DPoint const control_points[], float const weights[], float const knots[])
void HC_DEdit_NURBS_Curve(Key key, int cp_offset, int knot_offset, int cp_count, int knot_count, DPoint const control_points, float const weights, float const knots)

Similar to Edit_NURBS_Curve() but accepts double-precision values.

HC_Edit_NURBS_Curve().

Parameters

key: The numeric identifier returned by a previous call to Insert_NURBS_Curve() .

cp_offset: Index of the control point and/or weight in the original NURBS curve definition at which to begin editing (indices start at 0).

knot_offset: Index of the knot in the original NURBS curve definition at which to begin editing.

cp_count: The number of control points and/or weights to replace.

knot_count: The number of knots to replace.

control_points: Vector of x-y-z triplets. (A simple N x 3 array may also be used. Passed by reference always. Can be NULL if not interested)

weights: Control point weights. Passed by reference always. Can be NULL if not interested.

knots: Knot sequence. Passed by reference always. Can be NULL if not interested.