Synopsis

PDX_MSGT igdx_FaceTo144(long option, MDA_PTR gdx_face_ptr, int iges_model, MDA_PTR *iges_144_ptr)

Purpose

Create the IGES trimmed surface entity from the GDX face entity.

Description

Creates the IGES trimmed surface from the GDX face entity in the specified model. The base subordinate entities of the GDX Face entity are also created as physcially dependent entities in the specified model. In order to get a valid IGES 144 entity, the input GDX Face should have the proper form. That is, the first loop should be the outer loop, all parm curves should be closed, the surface should be open, and parm curves should exist. This function does convert multiple edges into a model space and parm space composite curves for the 142. This function does not check the requirements for valid IGES, they are assumed. GDX function that could assist in converting the GDX Face to the proper form: gdx_FaceRemoveSeamCrossings, gdx_FaceBoundSurf, gdx_FaceSplitClosedFaceSurfs, gdx_FaceGenerateParmCurves.

Input

option

IGDX_NO_190

For the output, do not create IGES 190's

IGDX_LEAVE_LOCKED

The IGES entity will remain locked in the database. The Applicaton must use mda_GetLockedAddr to get the entity structure.

IGDX_REMOVE_MODEL_DEGEN

Remove the degenrative model space curve.

gdx_face_ptr

The GDX Curve Bounded Surface entity database pointer

iges_model

The model for creating the IGES curve entity

Output

iges_144_ptr

The database pointer of the resulting GDX trimmed surface

Return

      IGDX_NOERR
      Low level error return
      .fi