diff --git a/GCS/Geo.h b/GCS/Geo.h index 4ca9c41..229df9a 100644 --- a/GCS/Geo.h +++ b/GCS/Geo.h @@ -68,6 +68,10 @@ public: int get_tag() { return tag; } + + bool operator==(Point p) { + return *x == *p.x && *y == *p.y; + } }; using VEC_P = std::vector;