Synopsis

PDX_MSGT gdx_CCRemoveDegenCurves(long option, MDA_PTR *gdx_cc_ptr, double tol, PDX_BOOL *remove_degen)

Purpose

Deletes degenerate curves from the given composite curve

Description

Given a Composite curve, removes all degen curves with the given tol. Checks all curves in the composite curve for degeneracy and creates a new comp curve with out degen curves. It replaces all the parent entities with the new comp curve and deletes the old curve.

Input

option

Options (not used)

gdx_cc_ptr

Composite curve for degeneracy check

tol

Tolerance used

Output

gdx_cc_ptr

Composite curve with out degenerate curves

remove_degen

PDX_TRUE

Found degen curves and removed

PDX_FALSE

Not found degen curves

Return

      PDX_NOERR
      .fi