Synopsis
PDX_MSGT igeo_UnRelimit126(long option, MDA_PTR db_ptr_126, int model, double tolerance, MDA_PTR *db_ptr)
Purpose
Convert a relimited IGES NURBS curve an unrelimited IGES NURBS curve
Description
Converts an IGES NURBS curve that has bounds values that relimit the NURBS curve to an unrelimited NURBS curve. In addition, if the IGES NURBS curve is periodic, then this function will convert the periodic curve to a non-periodic curve (where periodic is defined as a non-orderful multiplicity at the start and end of the knot sequence that causes the curve to be non-clampped). The IGES NURBS curve starting relimiting bounds value must be greater than the first knot value and the ending relimiting bounds value must be less than the last knot value. If a conversion error occurs any data created during the conversion is deleted and no unrelimited NURBS curve is created. The IGES NURBS curve entity must be a valid IGES definition. The conversion is exact to the precision of the input data and to machine precision.
Input
option
IGEO_NOSETERROR
Do not set the error on the error stack, just return it
db_ptr_126
The relimited IGES 126 NURBS curve entity database pointer
model
The model to create the IGES curve in
tolerance
The tolerance for closure test.
Output
db_ptr
The unrelimited IGES NURBS curve entity database pointer
Return
IGEO_NOERR
IGEO_NOTRELIMITED
Low level error return
.fi