Synopsis

PDX_MSGT gdx_CBSRemovePoles(long option, MDA_PTR gdx_cbs_ptr, double tol, PDX_BOOL *removed)

Purpose

Remove Poles in the given CBS

Description

Given a CBS, Removes poles in the given CBS. Loop through each CEC and checks pole curves, if pole curves exist then it creates new CEC with out the pole curves. Program replaces the old CEC with the new CEC in all parent entities and then deletes the old CEC entity. This program will not delete pole curves, if CEC doesn't have any other curves. Requirements CBS should have Parm curves Pole curves should be individual ECs.

Input

option

Options (not used)

gdx_cbs_ptr

CBS with pole curves

tol

Tolerance Used

Output

gdx_cbs_ptr

CBS without pole curves

removed

PDX_TRUE

Poles removed from the CBS

PDX_FALSE

Poles not removed from the CBS

Return

      PDX_NOERR
      .fi