mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +08:00
Ref T268, elevation handling improvements
* utility functions * made storeAircraftSituation virtual and return Aviation::CAircraftSituation * coordinate toQString in deg/rad
This commit is contained in:
@@ -120,7 +120,6 @@ namespace BlackMisc
|
||||
Test, //!< unit test
|
||||
SituationChange, //!< from BlackMisc::Aviation::CAircraftSituationChange
|
||||
Extrapolated, //!< extrapolated ("guessing")
|
||||
FromOtherSituations, //!< transferred from other situations ("sibling situations" same callsign)
|
||||
Average, //!< average value of "nearby" situation CAircraftSituationList::averageElevationOfNonMovingAircraft
|
||||
Interpolated, //!< interpolated between 2 elevations
|
||||
FromCache, //!< from cache
|
||||
@@ -174,8 +173,8 @@ namespace BlackMisc
|
||||
//! Null situation
|
||||
virtual bool isNull() const override;
|
||||
|
||||
//! Is better info (more accurate)?
|
||||
bool isBetterInfo(GndElevationInfo info, bool transferred) const;
|
||||
//! Is given info better (more accurate)?
|
||||
bool isThisElevationInfoBetter(GndElevationInfo info, bool transferred) const;
|
||||
|
||||
//! Equal pitch, bank heading
|
||||
//! \sa Geo::ICoordinateGeodetic::equalNormalVectorDouble
|
||||
|
||||
Reference in New Issue
Block a user