19 #ifndef GEOS_NODING_ORIENTEDCOORDINATEARRAY_H
20 #define GEOS_NODING_ORIENTEDCOORDINATEARRAY_H
22 #include <geos/export.h>
29 class CoordinateSequence;
43 class GEOS_DLL OrientedCoordinateArray {
52 OrientedCoordinateArray(
const geom::CoordinateSequence& p_pts)
55 orientationVar(orientation(p_pts))
70 int compareTo(
const OrientedCoordinateArray& o1)
const;
72 bool operator==(
const OrientedCoordinateArray& other)
const;
74 struct GEOS_DLL HashCode {
75 size_t operator()(
const OrientedCoordinateArray & oca)
const;
80 static int compareOriented(
const geom::CoordinateSequence& pts1,
82 const geom::CoordinateSequence& pts2,
93 static bool orientation(
const geom::CoordinateSequence& pts);
96 const geom::CoordinateSequence* pts;
116 #endif // GEOS_NODING_ORIENTEDCOORDINATEARRAY_H