26 double dragCoefficient);
70 const std::string&
getName()
const;
double getDiameter() const
Gets the maximum diameter of the airframe.
Definition Airframe.cpp:24
double dragCoefficient_
Drag coefficient (Cd).
Definition Airframe.h:78
Airframe(const std::string &name, double length, double diameter, double dryMass, double dragCoefficient)
Constructs a new Airframe.
Definition Airframe.cpp:6
double getDryMass() const
Gets the dry mass of the airframe.
Definition Airframe.cpp:28
std::string name_
Name of the airframe.
Definition Airframe.h:73
const std::string & getName() const
Gets the name of the airframe.
Definition Airframe.cpp:42
double length_
Total length [m].
Definition Airframe.h:75
double getReferenceArea() const
Calculates the reference area for drag computation.
Definition Airframe.cpp:36
double getDragCoefficient() const
Gets the aerodynamic drag coefficient.
Definition Airframe.cpp:32
double dryMass_
Structural dry mass [kg].
Definition Airframe.h:77
~Airframe()=default
Default destructor.
double diameter_
Maximum diameter [m].
Definition Airframe.h:76
double getLength() const
Gets the total length of the airframe.
Definition Airframe.cpp:20