Synopsis

PDX_MSGT gdx_LoopFixGaps(long option, MDA_PTR gdx_loop_ptr, MDA_PTR gdx_surf_ptr, MDA_PTR gdx_face_ptr, PDX_BOOL *delete_flg)

Purpose

Try to "HEAL" the gaps found between edges in a loop.

Description

This function will traverse the edges in the loops and try "HEALING" any gaps found there. The healing process is projecting the vertex onto the surface and then shrinking or growing the curve to get to that point.

Once the parameter space curves are within tolerance of each other, new model space curves will be generated.

Disclaimer Use this function at you own risk. It was developed for an ITI third party application. It is specific to that application.

Input

option

Options (not used)

gdx_loop_ptr

The valid GDX Loop database pointer

gdx_surf_ptr

The surface the loop lies on

gdx_face_ptr

The parent face of the surf and loop

Output

gdx_loop_ptr

The updated GDX Loop database pointer

delete_flg

Flag denoting the status of the passed in face. If PDX_TRUE, gdx_face_ptr needs to be deleted after it is unlocked in the calling routine.

Return

      GDX_NOERR
      Low level error return
      .fi