mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T275, utility functions in simulated aircraft, sim object ..
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user