Ref T275, utility functions in simulated aircraft, sim object ..

This commit is contained in:
Klaus Basan
2018-06-28 01:26:08 +02:00
parent 6bcded9264
commit c168262159
8 changed files with 44 additions and 3 deletions

View File

@@ -29,6 +29,12 @@ namespace BlackMisc
//! Init by double value
CLength(double value, const CLengthUnit &unit) : CPhysicalQuantity(value, unit) {}
//! Init by double value and switch unit
CLength(double value, const CLengthUnit &unit, const CLengthUnit &switchUnit) : CPhysicalQuantity(value, unit)
{
this->switchUnit(switchUnit);
}
//! \copydoc CPhysicalQuantity(const QString &unitString)
CLength(const QString &unitString) : CPhysicalQuantity(unitString) {}
};