|
|
TDiffractionPanelGeometry |
The TDiffractionPanelGeometry data structure is contains geometry information for a diffraction panel.
typedef struct {
int ObjectId;
TPanel Vertices;
TVector Centroid;
TVector Normal;
double Area;
int MeshFilePanelIndex;
int PanelType;
} TDiffractionPanelGeometry;
Identifies the object that owns the panel. A value of -1 identifies the damping lid, otherwise this is a zero based index into the list of included bodies.
The coordinates of the 4 vertices of the panel. If the panel is a triangular panel then the coordinates of the final vertex (ie. Vertices[3]) are NAN.
The coordinates of centroid of the panel.
The unit normal of the panel (pointing out of the water).
The area of the panel.
Identifies the source data (in a mesh file) from which the panel is derived. Specifically, these are one-based indices into the panels that are imported from each mesh file. You can view the same data by selecting mesh file panel indices in the mesh view in OrcaWave.
Identifies the type of panel. Can be one of: ptBody, ptDampingLid or ptDipole.