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

@@ -94,6 +94,12 @@ namespace BlackMisc
//! Constructor, value as CAltitude::MeanSeaLevel
CAltitude(double value, const PhysicalQuantities::CLengthUnit &unit) : CLength(value, unit), m_datum(MeanSeaLevel) {}
//! Constructor, value as CAltitude::MeanSeaLevel
CAltitude(double value, const PhysicalQuantities::CLengthUnit &unit, const PhysicalQuantities::CLengthUnit &switchUnit) : CLength(value, unit), m_datum(MeanSeaLevel)
{
this->switchUnit(switchUnit);
}
//! Altitude as string
CAltitude(const QString &altitudeAsString, PhysicalQuantities::CPqString::SeparatorMode mode = PhysicalQuantities::CPqString::SeparatorsLocale);