Synopsis

PDX_MSGT gdx_ShellGetFaceOrder(long option, MDA_PTR gdx_shell_ptr, long **link_array)

Purpose

Create an ordered list of faces for a gdx shell for sewing.

NOTE: this is used specifically by the CADDS interface. No other interface should use this function.

Description

Walk around a shell, using shared edges, and create an ordered list of faces. A sewing algorithm can then use this list to sew the faces into a shell. For example, link_array[0] = 0, link_array[1] = 4 means that shell->faces[0] shares an edge with shell->faces[4] and the two can be sewn together.

Input

option

Options ( not used )

gdx_shell_ptr

The gdx shell entity.

Output

link_array

Array of indices into the shell's face array.

Return

Error code.