41 std::vector <MASS_OBJECT_DATA>
mObjs;
59 int Read(
const char *FileName );
61 int Write(
const char *Filename );
65 void WriteHeader(std::ofstream &out);
int Read(const char *FileName)
reads masses file
double Iyy_glob
global inertia moment wrt CG [kg m^2]
unsigned int RefInertia
type of origin for inertia moment computation: CG/CS/Arbitrary
double Ixx_glob
global inertia moment wrt CG [kg m^2]
std::vector< MASS_OBJECT_DATA > mObjs
vector of mass objects
unsigned int n_Masses
number of mass objects
double Izx_glob
global inertia moment wrt CG [kg m^2]
double CGx_glob
global CG position X [m]
double Izz_glob
global inertia moment wrt CG [kg m^2]
void Clean()
cleans local variables
double Iyz_glob
global inertia moment wrt CG [kg m^2]
double Ref_y
arbitrary reference point y coordinate
double CGy_glob
global CG position Y [m]
double Ref_z
arbitrary reference point z coordinate
int Write(const char *Filename)
writes masses file
double CGz_glob
global CG position Z [m]
double Ixy_glob
global inertia moment wrt CG [kg m^2]
double Ref_x
arbitrary reference point x coordinate
double m_glob
global mass value [kg]
mass objects data manipulation