# Synopsis

PDX_MSGT gdx_ConvertTrimCurveToCurve(long option, MDA_PTR gdx_trim_db_ptr, int model, void *gdx_curve)

# Purpose

Convert a GDX Trim Curve entity to a GDX Curve entity

# Description

Given a GDX Trim Curve entity, create a GDX Curve from the GDX Trim entity as the trimmed portion of the GDX Curve entity.

# Input

## option

### GDX_COMMIT

Commit the GDX Trim curve definition to the database

## gdx_trim_db_ptr

The GDX Trim curve entity database pointer

## model

The model to create the GDX Curve entity in

# Output

## gdx_curve

The GDX Curve entity structure pointer or database pointer

# Tolerances

          MODEL_SPACE_PNT_TOL
          COPLANAR_TOL
          TANGENT_TOL
          CURVATURE_TOL
          DERIVATIVE_TOL
          .fi

# Return

          GDX_NOERR
          GDX_ENTITYNOTCURVE
          Low level error return
          .fi