Equality operators for GeoDataPoint, GeoDataLineString, GeoDataLinearRing, GeoDataPolygon
Review Request #116553 - Created March 2, 2014 and submitted - Latest diff uploaded
Adds a protected method bool equals(GeoDataGeometry &other) const; to GeoDataGeometry and makes possible to check for equality using operator== for the classes mentioned in the Summary. Also added a testing function for each of the classes in tests/TestEquality.cpp and it passes all the tests.
As I said above, I tested it using TestEquality and it works as expected.