Marine systems simulation
PolyplateSpec.h
1#ifndef C_PolyplateSpec_H
2#define C_PolyplateSpec_H
3#include "CRigidBody.h"
4
5namespace rigidbody
6{
8{
9 public:
10 PolyplateSpec(int nPolyPoints, std::vector<double> xPoints, std::vector<double> yPoints, double thickness, double mass, const string& material);
12
13 int numPoints; //#points
14 double thickness; //plate thickness
15 std::vector<double> xCoords; //polygon x-coords
16 std::vector<double> yCoords; //polygon y-coords
17 double mass; // mass
18 double volume; //volume
19 mat6 inertiaMatrix; //plate inertia
20 vec3 centroid;
21 string material;
22
23 double projectedArea;
24 double cubedGRZ;
25 double cubedGRY;
26 double cubedGRX;
27 double cubedGRXY;
28 double cubedGRYX;
29
30 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
31};
32}; // namespace rigidbody
33#endif
Definition: PolyplateSpec.h:8