CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
|
Public Member Functions | |
void | Clean () |
cleans local variables | |
int | Read (const char *FileName) |
reads masses file | |
int | Write (const char *Filename) |
writes masses file | |
Public Attributes | |
unsigned int | n_Masses |
number of mass objects | |
unsigned int | RefInertia |
type of origin for inertia moment computation: CG/CS/Arbitrary | |
double | Ref_x |
arbitrary reference point x coordinate | |
double | Ref_y |
arbitrary reference point y coordinate | |
double | Ref_z |
arbitrary reference point z coordinate | |
std::vector< MASS_OBJECT_DATA > | mObjs |
vector of mass objects | |
double | m_glob |
global mass value [kg] | |
double | CGx_glob |
global CG position X [m] | |
double | CGy_glob |
global CG position Y [m] | |
double | CGz_glob |
global CG position Z [m] | |
double | Ixx_glob |
global inertia moment wrt CG [kg m^2] | |
double | Iyy_glob |
global inertia moment wrt CG [kg m^2] | |
double | Izz_glob |
global inertia moment wrt CG [kg m^2] | |
double | Ixy_glob |
global inertia moment wrt CG [kg m^2] | |
double | Iyz_glob |
global inertia moment wrt CG [kg m^2] | |
double | Izx_glob |
global inertia moment wrt CG [kg m^2] | |
Definition at line 31 of file mass_file.h.
MASS_FILE::MASS_FILE | ( | void | ) |
Definition at line 24 of file mass_file.cpp.
MASS_FILE::~MASS_FILE | ( | void | ) |
Definition at line 26 of file mass_file.cpp.
void MASS_FILE::Clean | ( | void | ) |
cleans local variables
Definition at line 28 of file mass_file.cpp.
int MASS_FILE::Read | ( | const char * | FileName | ) |
reads masses file
Definition at line 46 of file mass_file.cpp.
int MASS_FILE::Write | ( | const char * | Filename | ) |
writes masses file
Definition at line 74 of file mass_file.cpp.
Referenced by Write().
double MASS_FILE::CGx_glob |
global CG position X [m]
Definition at line 44 of file mass_file.h.
double MASS_FILE::CGy_glob |
global CG position Y [m]
Definition at line 45 of file mass_file.h.
double MASS_FILE::CGz_glob |
global CG position Z [m]
Definition at line 46 of file mass_file.h.
double MASS_FILE::Ixx_glob |
global inertia moment wrt CG [kg m^2]
Definition at line 47 of file mass_file.h.
double MASS_FILE::Ixy_glob |
global inertia moment wrt CG [kg m^2]
Definition at line 50 of file mass_file.h.
double MASS_FILE::Iyy_glob |
global inertia moment wrt CG [kg m^2]
Definition at line 48 of file mass_file.h.
double MASS_FILE::Iyz_glob |
global inertia moment wrt CG [kg m^2]
Definition at line 51 of file mass_file.h.
double MASS_FILE::Izx_glob |
global inertia moment wrt CG [kg m^2]
Definition at line 52 of file mass_file.h.
double MASS_FILE::Izz_glob |
global inertia moment wrt CG [kg m^2]
Definition at line 49 of file mass_file.h.
double MASS_FILE::m_glob |
global mass value [kg]
Definition at line 43 of file mass_file.h.
std::vector<MASS_OBJECT_DATA> MASS_FILE::mObjs |
vector of mass objects
Definition at line 41 of file mass_file.h.
unsigned int MASS_FILE::n_Masses |
number of mass objects
Definition at line 35 of file mass_file.h.
double MASS_FILE::Ref_x |
arbitrary reference point x coordinate
Definition at line 37 of file mass_file.h.
double MASS_FILE::Ref_y |
arbitrary reference point y coordinate
Definition at line 38 of file mass_file.h.
double MASS_FILE::Ref_z |
arbitrary reference point z coordinate
Definition at line 39 of file mass_file.h.
unsigned int MASS_FILE::RefInertia |
type of origin for inertia moment computation: CG/CS/Arbitrary
Definition at line 36 of file mass_file.h.