Functions | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
Detailed Description
Function Documentation
◆ DEdit_NURBS_Surface()
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.
- 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
DETAILS
No additional details. See Edit_NURBS_Surface().
◆ DEdit_NURBS_Surface_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 | ||
) |
Similar to Edit_NURBS_Surface_Knots(), but accepts double-precision parameters.
- 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
DETAILS
No additional details. See Edit_NURBS_Surface()
◆ DEdit_NURBS_Surface_Points()
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.
- 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
DETAILS
No additional details. See Edit_NURBS_Surface()
◆ DEdit_NURBS_Surface_Weights()
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.
- 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
DETAILS
No additional details. See Edit_NURBS_Surface()
◆ Edit_NURBS_Surface()
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.
- 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
DETAILS
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.
NOTES
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.
RESTRICTIONS
◆ Edit_NURBS_Surface_Knots()
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.
- 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
DETAILS
No additional details. See Edit_NURBS_Surface()
◆ Edit_NURBS_Surface_Points()
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.
- 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
DETAILS
No additional details. See Edit_NURBS_Surface()
◆ Edit_NURBS_Surface_Weights()
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.
- 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
DETAILS
No additional details. See Edit_NURBS_Surface()