-
Notifications
You must be signed in to change notification settings - Fork 75
v0.2.49..v0.2.50 changeset Node.h
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/Node.h b/hoot-core/src/main/cpp/hoot/core/elements/Node.h
index 2173d37..88e49cc 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/Node.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/Node.h
@@ -126,6 +126,15 @@ public:
virtual void visitRw(ElementProvider& map, ConstElementVisitor& visitor);
+ /**
+ * Determines if the coordinates from this node match with that of another given a configurable
+ * tolerance
+ *
+ * @param other the node to compare coordinates with
+ * @return true if the coordinates match; false otherwise
+ */
+ bool coordsMatch(const Node& other) const;
+
protected:
friend class SharedPtrPool<Node>;