Synopsis

PDX_MSGT gdx_FaceRemoveDegenEdges(long option, MDA_PTR gdx_face_ptr, int *removed)

Purpose

Remove edges that are degenerate in both model and parm space

Description

Check each edge in the face, if both the model and parameter space curve is degenerate, remove it and fix the solid up. This function does not check to see if the loop has remaining edges. In most cases, it is better to call gdx_FaceRemoveDegenLoops.

Input

option

GDX_MODEL_ONLY

Only check for model space degeneracies

gdx_face_ptr

The database pointer for the GDX face entity

Output

removed

PDX_TRUE, at least one edge was removed PDX_FALSE, no edges were removed

Tolerances

      MODEL_SPACE_PNT_TOL
      PARM_SPACE_PNT_TOL
      .fi

Return

      GDX_NOERR
      GDX_INVALIDMODEL
      Low level error return
      .fi