Esempio n. 1
0
 /**
  * Rank two points according to longitude, then latitude
  *
  * @param other Point to compare to
  *
  * @return True if this point is further left (or if equal, lower) than the other
  */
 gcc_pure
 bool Sort(const SearchPoint &other) const {
   return location.Sort(other.location);
 }
Esempio n. 2
0
 /**
  * Rank two points according to longitude, then latitude
  *
  * @param other Point to compare to
  *
  * @return True if this point is further left (or if equal, lower) than the other
  */
 gcc_pure
 bool sort (const SearchPoint &other) const {
   return reference.Sort(other.reference);
 }