Synopsis

PDX_MSGT igdx_504ToEdgeList(long option, MDA_PTR db_ptr, int model, GDX_MATRIX *gdx_matrix, MDA_COUNT *num_of_vertex_lists, MDA_PTR ***gdx_vertex_lists, MDA_COUNT *num_of_edges, MDA_PTR **gdx_edge_list)

Purpose

Create the GDX form of the IGES edge entities

Description

Creates the GDX form of the IGES edge entities as the list of GDX edge entities in the GDX model. The IGES edge entities must be valid IGES definitions.

Input

option

The entity creation option (Not used)

db_ptr

The IGES 504 entity database pointer

model

The GDX edge entity model for creation

gdx_matrix

The GDX matrix to apply to the geometry or NULL

num_of_vertex_lists

The number of vertex lists

gdx_vertex_lists

The GDX vertex lists

num_of_edges

The number of edges in the list

Output

num_of_vertex_lists

The new number of vertex lists

gdx_vertex_lists

The new GDX vertex lists

num_of_edges

The new number of edges in the list

gdx_edge_list

The pointer to the list of the GDX form of the edge database pointers. Note: The application must free the edge list after used.

Tolerances

      ZERO_TOL
      .fi

Return

      IGDX_NOERR
      IGDX_INVALIDMODEL
      IGDX_NOMEMORY
      Low level error return
      .fi