# Synopsis

PDX_MSGT gdx_CBSRemoveDegenECs(long option, MDA_PTR gdx_cbs_ptr, int *removed)

# Purpose

Remove ECs that are degenerate in both model and parm space

# Description

Check each Edge Curve in the CBS, if both the model and parameter space curve is degenerate, remove it and fix the solid up.

# Input

## option

### GDX_MODEL_ONLY

Only check for model space degeneracies

## gdx_cbs_ptr

The database pointer for the GDX cbs entity

# Output

## removed

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

# Tolerances

          MODEL_SPACE_PNT_TOL
          PARM_SPACE_PNT_TOL
          .fi

# Return

          GDX_NOERR
          GDX_INVALIDMODEL
          Low level error return
          .fi