Ref T335, misc improvements in value objects

* allow to reset PBH for terrain probe
* check for null altitude before converting
* function isTerrainProbe for model/aircraft
This commit is contained in:
Klaus Basan
2018-09-06 08:49:40 +02:00
committed by Roland Winklmeier
parent 916f2f6180
commit 651ead5b51
6 changed files with 24 additions and 3 deletions

View File

@@ -413,6 +413,9 @@ namespace BlackMisc
//! Set bank (angle)
void setBank(const PhysicalQuantities::CAngle &bank) { m_bank = bank; }
//! Set PBH values to 0 (zero)
void setZeroPBH();
//! Get PBH info (all together)
QString getPBHInfo() const;