mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 18:25:42 +08:00
Ref T773, added "hasMeanSeaLevelValue" and consistently use it
This commit is contained in:
committed by
Mat Sutcliffe
parent
9f911b7e55
commit
287d96afea
@@ -112,7 +112,7 @@ namespace BlackMisc
|
||||
bool isGeodeticHeightNull() const { return this->geodeticHeight().isNull(); }
|
||||
|
||||
//! Geodetic height not null and Aviation::CAltitude::MeanSeaLevel
|
||||
bool hasMSLGeodeticHeight() const { return !this->geodeticHeight().isNull() && this->geodeticHeight().getReferenceDatum() == Aviation::CAltitude::MeanSeaLevel; }
|
||||
bool hasMSLGeodeticHeight() const { return this->geodeticHeight().hasMeanSeaLevelValue(); }
|
||||
|
||||
//! Is null, means vector x, y, z == 0
|
||||
//! \remark this is a default implementation, concrete implementations of ICoordinateGeodetic might override it
|
||||
|
||||
Reference in New Issue
Block a user