Synopsis

PDX_MSGT gdx_ShellSort(long option, MDA_PTR gdxShellPtr, int gdxModel, MDA_COUNT *nShells, MDA_PTR **gdxShellPtrs)

Purpose

Determine disjoint faces in shell

Description

The specified shell will be traversed to check if all the faces are connected via shared edge curves. If disjoint faces are detected new shells will be created to hold the connected faces. The original shell is not modified.

Input

option

Options (not used)

gdxShellPtr

GDX shell to process

gdxModel

GDX model to create new shell(s) in

Output

nShells

Number of new GDX shells created (0 is returned if no disjoint faces detected)

gdxShellPtrs

Array of new GDX shell entities created (must be freed by calling application)

Return

GDX_NOERR or error