# Synopsis

PDX_MSGT igdx_TorusTo198(long option, MDA_PTR gdx_torus_ptr, int iges_model, MDA_PTR *iges_198_ptr)

# Purpose

Create the IGES 198 torus entity from the GDX torus entity.

# Description

Creates the IGES 198:0,1 torus form of the GDX torus entity in the specified model.

# Input

## option

### IGDX_LEAVE_LOCKED

The IGES entity will remain locked in the database. The Applicaton must use mda_GetLockedAddr to get the entity structure.

## gdx_torus_ptr

The GDX torus entity database pointer

## iges_model

The IGES torus entity model for creation

# Output

## iges_198_ptr

The database pointer of the resulting IGES surface

# Return

          IGDX_NOERR
          IGDX_INVALIDMODEL
          Low level error return
          .fi