Synopsis

PDX_MSGT gdx_LoopSealGaps(long option, MDA_PTR gdx_loop_ptr, MDA_PTR gdx_surf_ptr, double ms_gap_tol)

Purpose

Closes gaps between edge curves in a Loop

Description

This functions closes the gap between two consecutive edge curves in a loop. If the edge parm curve has been modified to fix the gap then the all edge model curve and the vertices associated with the gap are deleted and regenerated.

Input

option

GDX_MODEL_ONLY

Check for gaps between model curves only

GDX_PARM_ONLY

Check for gaps between model curves only. If a gap is found between parm curves fix the parm curves only and not the model curves

GDX_MODEL_PARM_BOTH

Check for gaps in model and parm curves and modify both to fix the gap

gdx_loop_ptr

Database pointer of GDX Loop.

gdx_surf_ptr

Database pointer of surface the loop is on.

ms_gap_tol

The model space gap tolerance.

Output

gdx_loop_ptr

Database pointer of Modified GDX Loop.

Return

      Low level error return
      .fi