mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Ref T268, compare for CAltitude
This commit is contained in:
@@ -67,9 +67,9 @@ namespace BlackMisc
|
||||
*/
|
||||
enum ReferenceDatum
|
||||
{
|
||||
MeanSeaLevel = 0, //!< MSL
|
||||
AboveGround, //!< AGL
|
||||
FlightLevel //!< Flight level
|
||||
MeanSeaLevel = 0, //!< MSL
|
||||
AboveGround, //!< AGL
|
||||
FlightLevel //!< Flight level
|
||||
};
|
||||
|
||||
//! Altitude type
|
||||
@@ -185,6 +185,9 @@ namespace BlackMisc
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon
|
||||
BlackMisc::CIcon toIcon() const;
|
||||
|
||||
//! \copydoc PhysicalQuantities::CPhysicalQuantity::compare
|
||||
int compare(const CAltitude &otherAltitude) const;
|
||||
|
||||
//! Null altitude (MSL)
|
||||
static const CAltitude &null();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user