All Frameworks  Class Hierarchy  This Framework  Indexes

SPAkern Global Function bs3_curve_add_knot


int bs3_curve_add_knot(bs3_curve input,
double new_par,
int mult_req,
double knot_tol)
Adds a knot to a B-spline at a given parameter value.

Role: The routine returns the number of knots added. If the knot value to be added is an existing knot, the knot is inserted, provided the multiplicity of the current knot does not exceed the degree of the spline curve. The equality of the knots are tested using the tolerance given as input. The knot value must be within the parameter range of the input B-spline.

Effect: Changes model

Parameters:
input
given curve, modified in place.
new_par
returned new knot value.
mult_req
returned new knot's multiplicity.
knot_tol
returned knot tolerance.

This object is included in the file: sps3crtn.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.