TPanelMeshImportOptions

The TPanelMeshImportOptions structure is used to specify import options in a call to C_CreatePanelMesh2.

typedef struct {

int Size;

int Format;

double Scale;

int BodyNumber;

BOOL IncludeDryPanels;

} TPanelMeshImportOptions;

Members

Size

Specifies the size, in bytes, of this data structure. Set this member to sizeof(TPanelMeshImportOptions) before calling C_CreatePanelMesh2.

Format

The panel mesh file format. Can be one of the following values:

Scale

The imported vertices are scaled by this value on import. This is useful when you wish to convert between different length units. Pass 1 to import the mesh without scaling.

BodyNumber

For mesh files that contain multiple bodies, the number of the body to import. Pass 1 for single body mesh files.

IncludeDryPanels

Determines whether or not all panels will be imported (that is both wet diffracting panels and dry panels), or just the panels that are specified as being wet.

See also

C_CreatePanelMesh2.