Synopsis

PDX_MSGT gdx_EdgeGetEdgeSenses(long option, MDA_PTR gdx_edge_ptr, long *num_loops, PDX_BOOL **edge_senses, MDA_PTR **gdx_loop_ptrs)

Purpose

Get the edges senses of this edge in loops, and get loops too.

Description

Get all the loops that reference the edge and the senses of the edges in the loops. Return them as parallel arrays. Calling functions must delete the arrays of senses and loops. These array all allocated via standard C mallocs.

Input

option

(not used)

gdx_edge_ptr

DB pointer of edge

Output

num_loops

Number of loops referencing the input edge

edge_senses

Array of edge senses from loops

gdx_loop_ptrs

Array of loop pointers referencing edge.

Return

      GDX_NOERR
      Low level error return
      .fi