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