# Synopsis

PDX_MSGT gcr_RuledSurf(long option, MDA_PTR orig_db_ptr, PDX_BOOL end_flag, MDA_PTR first_curve, MDA_PTR second_curve, int gdx_model, MDA_PTR *gdx_RULED_ptr)

# Purpose

Create a GDX Ruled Surface.

# Description

Given the end flag, pointer the a GDX curve and a pointer to a GDX curve to rule too, create a GDX Ruled Surface. The first_curve must be G0 continuous the second_curve must be G0 continuous.

# Input

## option

### GCR_NOVALIDATE

No validation will occur on the input data.

## orig_db_ptr

The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

## end_flag

Flag indicating curve end reversal, PDX_TRUE = reverse the second rail.

## first_curve

First G0 continuous GDX curve to rule from.

## second_curve

Second G0 continuous GDX curve to rule to.

## gdx_model

The model in which to create the GDX Ruled Surface entity.

# Output

## gdx_RULED_ptr

Entity database pointer to the GDX Ruled Surface.

# Tolerances

          .fi

# Return

          GCR_NOERR
          GCR_INVALID_MODEL
          Low level error return
          .fi