An utility struct for representing 2D coordinates. More...
#include <Coord2D.h>
Public Member Functions | |
Coord2D () | |
Constructor. | |
Coord2D (const Coord2D &rhs) | |
Copy constructor. | |
Coord2D (const double &xx, const double &yy) | |
Constructor. | |
double | getX () const |
It returns the x-coordinate. | |
double | getY () const |
It returns the y-coordinate. | |
bool | operator< (const Coord2D &rhs) const |
Lexicographic compare (x-y). | |
bool | operator== (const Coord2D &rhs) const |
It compares if two coordinates have the same exact values. | |
Public Attributes | |
double | x |
x-coordinate. | |
double | y |
y-coordinate. | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
double te::gm::Coord2D::x |
x-coordinate.
Definition at line 113 of file Coord2D.h.
Referenced by te::gm::GeometricTransformation::directMap(), te::gm::GeometricTransformation::directMap(), te::rst::Grid::geoToGrid(), te::rst::PolygonIterator< T >::getBBOXIntersectionRanges(), getX(), te::rst::Grid::gridToGeo(), te::rst::PolygonIterator< T >::initialize(), te::gm::GeometricTransformation::inverseMap(), te::gm::GeometricTransformation::inverseMap(), operator<(), and operator==().
double te::gm::Coord2D::y |
y-coordinate.
Definition at line 114 of file Coord2D.h.
Referenced by te::gm::GeometricTransformation::directMap(), te::gm::GeometricTransformation::directMap(), te::rst::Grid::geoToGrid(), te::rst::PolygonIterator< T >::getBBOXIntersectionRanges(), getY(), te::rst::Grid::gridToGeo(), te::rst::PolygonIterator< T >::initialize(), te::gm::GeometricTransformation::inverseMap(), te::gm::GeometricTransformation::inverseMap(), operator<(), and operator==().