Functions | |
void | Edit_NURBS_Surface (HC_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, const HC_POINT *points, const float *weights, const float *u_knots, const float *v_knots) |
void | DEdit_NURBS_Surface (HC_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, const HCD_POINT *points, const double *weights, const double *u_knots, const double *v_knots) |
void | Edit_NURBS_Surface_Points (HC_KEY key, int cp_offset, int cp_replace_count, const HC_POINT *points) |
void | DEdit_NURBS_Surface_Points (HC_KEY key, int cp_offset, int cp_replace_count, const HCD_POINT *points) |
void | Edit_NURBS_Surface_Knots (HC_KEY key, int u_knot_offset, int v_knot_offset, int u_knot_replace_count, int v_knot_replace_count, const float *u_knots, const float *v_knots) |
void | DEdit_NURBS_Surface_Knots (HC_KEY key, int u_knot_offset, int v_knot_offset, int u_knot_replace_count, int v_knot_replace_count, const double *u_knots, const double *v_knots) |
void | Edit_NURBS_Surface_Weights (HC_KEY key, int weights_offset, int weights_replace_count, const float *weights) |
void | DEdit_NURBS_Surface_Weights (HC_KEY key, int weights_offset, int weights_replace_count, const double *weights) |
void Edit_NURBS_Surface | ( | HC_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, | ||
const HC_POINT * | points, | ||
const float * | weights, | ||
const float * | u_knots, | ||
const float * | v_knots | ||
) |
Edits the properties of an existing NURBS surface.
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 |
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.
void DEdit_NURBS_Surface | ( | HC_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, | ||
const HCD_POINT * | points, | ||
const double * | weights, | ||
const double * | u_knots, | ||
const double * | v_knots | ||
) |
Similar to Edit_NURBS_Surface(), but accepts double-precision 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 |
No additional details. See Edit_NURBS_Surface().
void Edit_NURBS_Surface_Points | ( | HC_KEY | key, |
int | cp_offset, | ||
int | cp_replace_count, | ||
const HC_POINT * | points | ||
) |
Edits only the control points in a NURBS surface.
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 |
cp_replace_count | - The number of control points to insert |
points | - New control points |
No additional details. See Edit_NURBS_Surface()
void DEdit_NURBS_Surface_Points | ( | HC_KEY | key, |
int | cp_offset, | ||
int | cp_replace_count, | ||
const HCD_POINT * | points | ||
) |
Similar to Edit_NURBS_Surface_Points(), but accepts double-precision 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 |
cp_replace_count | - The number of control points to insert |
points | - New control points |
No additional details. See Edit_NURBS_Surface()
void Edit_NURBS_Surface_Knots | ( | HC_KEY | key, |
int | u_knot_offset, | ||
int | v_knot_offset, | ||
int | u_knot_replace_count, | ||
int | v_knot_replace_count, | ||
const float * | u_knots, | ||
const float * | v_knots | ||
) |
Edits only the knots of in a NURBS surface.
key | - The unique identifier returned by a previous call to Insert_NURBS_Surface() |
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 |
u_knot_replace_count | - The number of u_knots to insert |
v_knot_replace_count | - The number of v_knots to insert |
u_knots | - New u_knot values |
v_knots | - New v_knot values |
No additional details. See Edit_NURBS_Surface()
void DEdit_NURBS_Surface_Knots | ( | HC_KEY | key, |
int | u_knot_offset, | ||
int | v_knot_offset, | ||
int | u_knot_replace_count, | ||
int | v_knot_replace_count, | ||
const double * | u_knots, | ||
const double * | v_knots | ||
) |
Similar to Edit_NURBS_Surface_Knots(), but accepts double-precision parameters.
key | - The unique identifier returned by a previous call to Insert_NURBS_Surface() |
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 |
u_knot_replace_count | - The number of u_knots to insert |
v_knot_replace_count | - The number of v_knots to insert |
u_knots | - New u_knot values |
v_knots | - New v_knot values |
No additional details. See Edit_NURBS_Surface()
void Edit_NURBS_Surface_Weights | ( | HC_KEY | key, |
int | weights_offset, | ||
int | weights_replace_count, | ||
const float * | weights | ||
) |
Edits only the weights in a NURBS surface.
key | - The unique identifier returned by a previous call to Insert_NURBS_Surface() |
weights_offset | - Number of the point in the original weights array just before which to start editing |
weights_replace_count | - The number of weights to insert |
weights | - New weights |
No additional details. See Edit_NURBS_Surface()
void DEdit_NURBS_Surface_Weights | ( | HC_KEY | key, |
int | weights_offset, | ||
int | weights_replace_count, | ||
const double * | weights | ||
) |
Similar to Edit_NURBS_Surface_Weights(), but accepts double-precision parameters.
key | - The unique identifier returned by a previous call to Insert_NURBS_Surface() |
weights_offset | - Number of the point in the original weights array just before which to start editing |
weights_replace_count | - The number of weights to insert |
weights | - New weights |
No additional details. See Edit_NURBS_Surface()