Synopsis

PDX_MSGT gdx_FaceRemovePoles(long option, MDA_PTR gdx_face_ptr, double tol, PDX_BOOL *removed)

Purpose

Remove Poles in the given Face

Description

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

Input

option

Options (not used)

gdx_face_ptr

Face with pole curves

tol

Tolerance Used

Output

gdx_face_ptr

Face without pole curves

removed

PDX_TRUE

Poles removed from the Face

PDX_FALSE

Poles not removed from the Face

Return

      PDX_NOERR
      .fi