|
GEOS 3.13.1
|
Allows comparing geom::CoordinateSequences 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 OrientedCoordinateArrays for their relative order. | |
| bool | operator== (const OrientedCoordinateArray &other) const |
Allows comparing geom::CoordinateSequences 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 OrientedCoordinateArrays 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<().