Synopsis

PDX_BOOL gdx_IsLoopEdgeSurfParmCurve(long option, T_GDX_LOOP *gdx_loop, MDA_COUNT edge, T_GDX_EDGE_CURVE *gdx_edge_curve, MDA_PTR gdx_face_surf_db_ptr, PDX_BOOL *edge_used, MDA_PTR *gdx_surf_parm_db_ptr)

Purpose

Determine if the surface parameter space curve is the loop parameter space curve

Description

Given a loop, the current edge index, the face surface, and the edge surface and the surface U and V closure, determines if the parameter space curve is the correct one. The surfaces must be the same, the parameter space curve must not be MDA_NULL_PTR, and if the surface is closed in either U or V, the edge must connect to the previous parameter space curve if it is on a seam.

Input

option

Options ( Not used )

gdx_loop

The GDX loop entity structure for the face surface

edge

The index to the current edge for the loop

gdx_edge_curve

The GDX geometric edge curve entity structure for the edge

gdx_face_surf_db_ptr

The GDX Face surface entity database pointer

edge_used

PDX_TRUE

The edge has been used

PDX_FALSE

The edge has NOT been used

Output

gdx_surf_parm_db_ptr

The edge parameter space curve

Return

      PDX_TRUE  (true)   -The parameter space curve is the loop edge
                          parameter space curve
      PDX_FALSE (false)  -The parameter space curve is NOT the loop edge
                          parameter space curve
      .fi