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