Synopsis

PDX_MSGT gdx_TessellatedGroupToPolyShellAndPolyline(long option, int gdxModel, MDA_PTR gdxTessellatedGroupPtr, int *nPtrs, MDA_PTR **gdxPtrs)

Purpose

Convert GDX_TESSELLATED_GROUP to GDX_POLY_SHELL and GDX_POLYLINE

Description

The specified GDX_TESSELLATED_GROUP entity will be converted to a GDX_POLY_SHELL and 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

GDX_SHAPE_TO_POLY_SHELL

Create a poly shell for each shape in the group instead of a single poly shell for the group

gdxModel

GDX model to create GDX_POLY_SHELL in

gdxTessellatedGroupPtr

GDX_TESSELLATED_GROUP entity to convert

Output

nPtrs

Number of GDX entities created

gdxPtrs

GDX_POLY_SHELL and GDX_POLYLINE entities created

Return

GDX_NOERR or error