Synopsis

PDX_MSGT igeo_UnRelimit128(long option, MDA_PTR db_ptr_128, int model, double tolerance, MDA_PTR *db_ptr)

Purpose

Convert a relimited IGES NURBS surface an unrelimited IGES NURBS surface

Description

Converts an IGES NURBS surface that has bounds values that relimit the NURBS surface to an unrelimited NURBS surface. In addition, if the IGES NURBS surface is periodic, then this function will convert the peridoci surface to a non-periodic surface (where periodic is definied as a non-oderful multiplicity at the start and end of the knot sequence that causes the surface to be non-clampped in the U or V parametric direction). The IGES NURBS surface starting relimiting bounds in either the U or V parametric direction must be greater than the first knot value and the ending relimiting bounds value must be less than the ending knot value for at least one of the U or V parametric directions. If a conversion error occurs any data created during the conversion is deleted and no unrelimited NURBS surface is created. The IGES NURBS surface 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_128

The relimited IGES 128 NURBS surface entity database pointer

model

The model to create the IGES surface in

tolerance

The tolerance for closure test.

Output

db_ptr

The unrelimited IGES NURBS surface entity database pointer

Return

      IGEO_NOERR
      IGEO_NOTRELIMITED
      Low level error return
      .fi