GEOS 3.11.1
|
Allows comparing geom::CoordinateSequence
s in an orientation-independent way.
More...
#include <OrientedCoordinateArray.h>
Public Member Functions | |
OrientedCoordinateArray (const geom::CoordinateSequence &p_pts) | |
int | compareTo (const OrientedCoordinateArray &o1) const |
Compares two OrientedCoordinateArray s for their relative order. More... | |
bool | operator== (const OrientedCoordinateArray &other) const |
Allows comparing geom::CoordinateSequence
s in an orientation-independent way.
|
inline |
Creates a new OrientedCoordinateArray
for the given geom::CoordinateSequence
.
p_pts | the coordinates to orient |
int geos::noding::OrientedCoordinateArray::compareTo | ( | const OrientedCoordinateArray & | o1 | ) | const |
Compares two OrientedCoordinateArray
s for their relative order.
In JTS, this is used automatically by ordered lists. In C++, operator< would be used instead....
Referenced by geos::noding::operator<().