Represents geospatial point with latitude and longitude specified in degrees. More...
#include <Point.h>
Public Member Functions | |
Point (double lat=0, double lon=0) | |
bool | operator== (Point const &other) const |
same as close(other, 0.0000001) | |
bool | operator!= (Point const &other) const |
bool | operator<= (Point const &other) const |
bool | operator>= (Point const &other) const |
bool | operator> (Point const &other) const |
bool | operator< (Point const &other) const |
lexicographical ordering of points (used only to be able to store them in sets) | |
bool | before (Point const &other, double tolerance) const |
bool | close (Point const &other, double tolerance) const |
Data Fields | |
double | lat |
double | lon |
Represents geospatial point with latitude and longitude specified in degrees.
bool geo::Point::before | ( | Point const & | other, |
double | tolerance | ||
) | const |
bool geo::Point::close | ( | Point const & | other, |
double | tolerance | ||
) | const |
bool geo::Point::operator< | ( | Point const & | other | ) | const |
bool geo::Point::operator== | ( | Point const & | other | ) | const |
double geo::Point::lat |
double geo::Point::lon |