# Synopsis

(macro) PDX_MSGT gdx_SolidToPolyShell(long option, MDA_PTR gdx_solid_ptr, double approx_tol, int model, long *num_gdx_ps_ptrs, MDA_PTR **gdx_ps_ptrs)

# Purpose

Convert (tessellate) GDX Solid to GDX Polyshell(s)

# Description

For full information see gdx_SolidToPolyShell2(). This function was kept around for backward compatibility. This function will call gdx_SolidToPolyShell2() with the new bindings that have been added to gdx_SolidToPolyShell2().

# Input

## option

### GDX_NOOPT

(default) Solid is converted to a single polyshell. Each segment of the polyshell is used in exactly two polygons

### GDX_NO_COPY

The output Solid may have new UV points based on the new re-parameterized surfaces

### GDX_POLYSHELL_PER_FACE

Solid is converted to multiple polyshells, one per each face of solid

### GDX_POLYSHELL_FAST

By default the tesselation merges all duplicate edges and points. However, when this option is specified, the duplicates are not removed.

## gdx_solid_ptr

GDX Solid data base pointer

## approx_tol

Approximation tolerance

## model

Destination model

# Output

## num_gdx_ps_ptrs

Number of GDX Polyshell entities returned

## gdx_ps_ptrs

GDX Polyshell data base pointers

# Return

          GEA_NOERR
          .fi