# Synopsis

PDX_MSGT gdx_EdgeGenerateParmCurve(long option, MDA_PTR gdx_surf_ptr, PDX_BOOL edge_sense, PDX_BOOL loop_surf_sense, double devtol, long maxits, int fitdeg, MDA_PTR gdx_edge_ptr, int *status, T_GDX_RECT_MESH **rect_mesh)

# Purpose

Generate missing Parameter Space curve in a edge

# Description

Generate missing parameter space curve for the edge.

# Input

## option

Options (Not Used)

## gdx_surf_ptr

Surface that this use of edge is on.

## edge_sense

Sense on edge from loop.

## loop_surf_sense

### PDX_TRUE

Loop sense and Surf sense are the same

### PDX_FALSE

Loop sense and Surf sense are different

## devtol

The deviation of the model space image of P(s) from the projection of M(t) should not be greater than devtol. This tolerance should be larger than MODEL_SPACE_PNT_TOL, at least by 1 to 2 orders of magnitude.

## maxits

Maximum number of iterations. Iteration will be stopped if this number is exceeded.

## fitdeg

Degree used for fitting. See option GDX_FITDEGMAX above.

## gdx_edge_ptr

DB pointer of GDX Edge Entity.

## rect_mesh

pointer to rect_mesh entity used as the temporary rect mesh for the projectsion or NULL. If non NULL is passed in first time, entitiy must be NULL.

# Output

## gdx_edge_ptr

DB pointer of GDX Edge with parameter space curves.

## status

Flag indicating whether GDX_DEGREE_ONE was used.

## rect_mesh

if not NULL, it returns the rect mesh entity used for projection

# Tolerances

          MODEL_SPACE_PNT_TOL
          PARM_SPACE_PNT_TOL
          ANGLE_TOL
          ZERO_TOL
          .fi

# Return

          GDX_NOERR
          GDX_INVALIDMODEL
          Low level error return
          .fi