Ref T273, high level functions to compare "equal" situations

Remark: "==" compares a lot of attributes, those will only compare values to determine equal PBH/vector ...
This commit is contained in:
Klaus Basan
2018-06-03 00:29:40 +02:00
parent 6f8d980d2c
commit a3b8d776a0
6 changed files with 71 additions and 3 deletions

View File

@@ -83,9 +83,12 @@ namespace BlackMisc
//! Normal vector with double precision
virtual std::array<double, 3> normalVectorDouble() const = 0;
//! Is equal, epsilon considered
//! Is equal, epsilon considered?
bool equalNormalVectorDouble(const std::array<double, 3> &otherVector) const;
//! Is equal, epsilon considered?
bool equalNormalVectorDouble(const ICoordinateGeodetic &otherCoordinate) const;
//! Latitude as string
QString latitudeAsString() const { return this->latitude().toQString(true); }