Synopsis

PDX_MSGT gdx_TessellatedShapeToPolyShell(long option, int gdxModel, MDA_PTR gdxTessellatedShapePtr, int *nPtrs, MDA_PTR **gdxPtrs)

Purpose

Convert GDX_TESSELLATED_SHAPE to GDX_POLY_SHELL

Description

The specified GDX_TESSELLATED_SHAPE entity will be converted to a GDX_POLY_SHELL or GDX_POLYLINE entities in the specified model. The normals in the GDX_TESSELLATED_SHAPE will be used to order the polygon points in the GDX_POLY_SHELL correctly.

Input

option

GDX_POLY_SHELL_OUTLINE

Map the poly shell to a polyline outline if all the points are coplanar

gdxModel

GDX model to create GDX_POLY_SHELL in

gdxTessellatedShapePtr

GDX_TESSELLATED_SHAPE entity to convert

Output

nPtrs

Number of GDX entities created

gdxPtrs

GDX_POLY_SHELL or GDX_POLYLINE entities created

Return

GDX_NOERR or error