# Synopsis

PDX_MSGT gdx_EdgeGetParmCurve(long option, MDA_PTR gdx_surf_ptr, PDX_BOOL edge_sense, MDA_PTR gdx_edge_ptr, MDA_PTR *gdx_pcurve_ptr, int *index)

# Purpose

Get the correct Parameter space curve from the given Edge.

# Description

Get the correct Parameter space curve from the given Edge. Search the faces array in the EC for the given surface. If not found, index will be set to -1. If the surface is found, then the index value will correspond to the surface in the faces array of the edge curve. If the surface is found multiple times, the parm curves will be compared against the model curve using the edge_sense flag. The index to the parm curve that corresponds best will be returned.

edge_sense is the sense of the edge in the loop. This sense will be combined with the EC sense in the edge to get the correct parm curve.

# Input

## option

not used

## gdx_surf_ptr

db_ptr of the surface to locate in the edge.

## edge_sense

Sense of edge in the loop.

## gdx_edge_ptr

DB pointer of the GDX edge.

# Output

## gdx_pcurve_ptr

db_ptr of the correct parameter space curve in the desired direction. MDA_NULL_PTR indicates that parm curve does not exist.

## index

location in faces array that paramerter curve is from. -1 indicates that the surface was not found in the faces array.

# Return

          GDX_NOERR
          Low level error return
          .fi