26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_COORD2D_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_COORD2D_H
51 Coord2D(
const double& xx,
const double& yy)
An utility struct for representing 2D coordinates.
Coord2D(const Coord2D &rhs)
Copy constructor.
double getX() const
It returns the x-coordinate.
bool operator<(const Coord2D &rhs) const
Lexicographic compare (x-y).
double getY() const
It returns the y-coordinate.
Coord2D(const double &xx, const double &yy)
Constructor.
bool operator==(const Coord2D &rhs) const
It compares if two coordinates have the same exact values.