Synopsis

PDX_MSGT igeo_Get128BoundsCurveAs126(long option, MDA_PTR db_ptr_128, EAM_STACK *stack, int model, MDA_PTR *db_ptr_126)

Purpose

Extracts the boundary curve from the IGES NURBS surface(128) as an IGES NURBS curve (126).

Description

Extracts the boundary curve from the IGES NURBS surface entity as an IGES NURBS curve entity. The boundary curve is formed from the set of 4 iso-parametric curves defined by the IGES NURBS surface boundary values and concatentated together to form one composited IGES NURBS curve of the surface boundary. All the non-pointer DE attributes are set in the IGES NURBS curve from the IGES NURBS surface, and the current entity attribute matrix is applied to the IGES NURBS curve. If an error occurs any data created during the conversion is deleted and no IGES NURBS curve is created. The IGES NURBS surface entity must be a valid IGES definition.

Input

option

IGES_NOMATRIX

Do not apply entity matrix to data

db_ptr_128

The valid IGES 128 NURBS surface entity database pointer

stack

The entity attribute stack

model

The model to create the IGES NURBS curve in

Output

db_ptr_126

The IGES 126 curve entity database pointer

Return

      IGEO_NOERR
      IGEO_SURFACENOTNURBS
      Low level error return
      .fi