Ref T259, Ref T243 coordinate list and improved "find" functions in IGeoObjectList

This commit is contained in:
Klaus Basan
2018-03-07 01:31:02 +01:00
parent 5744c260c5
commit 0c877e1575
9 changed files with 244 additions and 14 deletions

View File

@@ -95,6 +95,9 @@ namespace BlackMisc
//! Geodetic height null?
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; }
//! Is null, means vector x, y, z == 0
//! \remark this is a default implementation, concrete implementations of ICoordinateGeodetic might override it
virtual bool isNull() const { return this->normalVector().isNull(); }