# Synopsis

PDX_MSGT igdx_198ToRTS(long option, MDA_PTR iges_198_ptr, int gdx_model, MDA_PTR *gdx_rts_ptr)

# Purpose

Create the GDX Rectangular Trimmed Surface entity that referencs the GDX torus entity from the IGES 198:1 torus surface entity.

# Description

Creates the GDX Rectangular Trimmed Surface entity that references the GDX torus entity in the specified model.

# Input

## option

### IGDX_APPLYMTX

Apply the IGES matrix to the GDX definition

## iges_198_ptr

The IGES 198:1 entity database pointer

## gdx_model

The GDX torus entity model for creation

# Output

## gdx_rts_ptr

The database pointer of the resulting GDX surface

# Return

          IGDX_NOERR
          IGDX_INVALIDENTITYFORM
          IGDX_INVALIDMODEL
          Low level error return
          .fi