# Synopsis

PDX_MSGT igdx_LoopTo508(long option, MDA_PTR gdx_db_ptr, int model, MDA_PTR gdx_face_surf_db_ptr, PDX_BOOL surf_sense, PDX_BOOL loop_sense, MDA_APP_DATA *gdx_iges_app_data, MDA_PTR *iges_edge_db_ptr, MDA_PTR *iges_vertex_db_ptr, MDA_PTR *iges_loop_db_ptr)

# Purpose

Create the IGES 508 form of the GDX loop entity

# Description

Creates the IGES 508 form of the GDX loop entity in the IGES model.

The GDX loop entity must be a valid GDX definition.

# Input

## option

The entity creation option

## gdx_db_ptr

The GDX loop entity database pointer

## model

The IGES loop entity model for creation

## gdx_face_surf_db_ptr

The GDX face surface for the loop

## surf_sense

SURF_SENSE of the face of the loop

## loop_sense

Sense of the loop within its face. This sense is TRUE when N X T points to the interior of the face. N is topo normal of the face. T is topo tangent of the loop.

## gdx_iges_app_data

The GDX -> IGES entity associativity APP data

## iges_edge_db_ptr

The IGES edge list database pointer or MDA_NULL_PTR

## iges_vertex_db_ptr

The IGES vertex list database pointer or MDA_NULL_PTR

# Output

## iges_edge_db_ptr

The new IGES edge list entity database pointer

## iges_vertex_db_ptr

The new IGES vertex list entity database pointer

## iges_loop_db_ptr

The database pointer to the IGES 508 form of the loop entity

# Tolerances

          ZERO_TOL
          PARM_SPACE_PNT_TOL
          MODEL_SPACE_PNT_TOL
          COPLANAR_TOL
          .fi

# Return

          IGDX_NOERR
          IGDX_INVALIDMODEL
          IGDX_NONEMORY
          Low level error return
          .fi