Synopsis

PDX_MSGT igdx_143ToFace(long option, MDA_PTR iges_143_ptr, int gdx_model, MDA_PTR *gdx_face_ptr)

Purpose

Create the GDX Face from an IGES 143.

Description

Creates the GDX Face from the the IGES trimmed surface entity (143). The parm curve in the 142 will only be used if the usage is parm prefered or the IGDX_KEEP_PARM flag is set. Otherwise, the parm curve will not be converted to GDX. The model curve in the 142 will be used if the usage is model prefered, neither prefered, or equally prefered, or if the IGDX_KEEP_MODEL flag is set. Otherwise, the model curve will not be used, and a new model curve will be generated from the parm curve.

Input

option

IGDX_APPLYMTX

Apply the IGES matrix to the GDX definition

IGDX_KEEP_PARM

Convert and use the parm curve in the 142 even if parm is not prefered. Parm curves are likely to get deleted if 102's are present.

IGDX_KEEP_MODEL

Convert and use the model curve in the 142 even if the parm curve is prefered.

iges_143_ptr

The IGES 143 entity database pointer

gdx_model

The GDX Curve Bounded Surface entity model for creation

Output

gdx_face_ptr

The database pointer of the resulting GDX Face

Return

      IGDX_NOERR
      IGDX_INVALIDENTITYFORM
      IGDX_INVALIDMODEL
      Low level error return
      .fi