Added inequality operator for Point

This commit is contained in:
Joseph Lenox 2018-07-18 22:28:29 -05:00
parent 6676368a34
commit 84826ae5ee

View File

@ -44,6 +44,7 @@ class Point
/// Scale and create a Point from a Pointf.
static Point new_scale(Pointf p);
bool operator==(const Point& rhs) const;
bool operator!=(const Point& rhs) const { return !(*this == rhs); }
std::string wkt() const;
std::string dump_perl() const;
void scale(double factor);