HC_Edit_NURBS_Surface

void HC_Edit_NURBS_Surface(Key key, int cp_offset, int weights_offset, int u_knot_offset, int v_knot_offset, int cp_replace_count, int weights_replace_count, int u_knot_replace_count, int v_knot_replace_count, Point const points[], float const weights[], float const u_knots[], float const v_knots[])
void HC_Edit_NURBS_Surface(Key key, int cp_offset, int weights_offset, int u_knot_offset, int v_knot_offset, int cp_replace_count, int weights_replace_count, int u_knot_replace_count, int v_knot_replace_count, Point const points, float const weights, float const u_knots, float const v_knots)

Edits the properties of an existing NURBS surface.

The same restrictions on the values of knots and weights that applied at the time of insertion must still apply at the time of the edit.

As a limit to the complexity of this function, it is not possible to change all aspects of NURBS surfaces. In particular, it is not possible to change the number of control points or the degree (in either direction) of the surface. To affect such changes requires that the user delete and reinsert the surface. Additionally, there is no interface for editing the surfaces’s trims without deleting and reinserting those.

HC_Insert_NURBS_Surface, HC_Show_NURBS_Surface, HC_Edit_NURBS_Surface, HC_Show_NURBS_Surface, HC_Trim_NURBS_Surface_By_Curve, HC_Trim_NURBS_Surface_By_Poly, HC_Insert_NURBS_Curve, HC_Edit_NURBS_Curve, HC_Show_NURBS_Curve

Parameters

key: The unique identifier returned by a previous call to Insert_NURBS_Surface()

cp_offset: Number of the point in the original control point definition just before which to start editing

weights_offset: Number of the point in the original weights array just before which to start editing

u_knot_offset: Number of the point in the original u_knot array just before which to start editing

v_knot_offset: Number of the point in the original v_knot array just before which to start editing

cp_replace_count: The number of control points to insert

weights_replace_count: The number of weights to insert

u_knot_replace_count: The number of u_knots to insert

v_knot_replace_count: The number of v_knots to insert

points: New control points

weights: New weights

u_knots: New u_knot values

v_knots: New v_knot values