Function CompareCoordinates(const Node&, const Node&)

Function Documentation

bool CompareCoordinates(const Node &p1, const Node &p2)

compare coordinates between 2 nodes

Return
whether the two nodes are for the same coordinates
Parameters
  • p1: node 1
  • p2: node 2