20 #ifndef GEOS_OP_REPEATEDPOINTTESTER_H
21 #define GEOS_OP_REPEATEDPOINTTESTER_H
23 #include <geos/export.h>
25 #include <geos/geom/Coordinate.h>
31 class CoordinateSequence;
35 class MultiLineString;
36 class GeometryCollection;
49 class GEOS_DLL RepeatedPointTester {
51 RepeatedPointTester() {}
52 geom::Coordinate& getCoordinate();
53 bool hasRepeatedPoint(
const geom::Geometry* g);
54 bool hasRepeatedPoint(
const geom::CoordinateSequence* coord);
56 geom::Coordinate repeatedCoord;
57 bool hasRepeatedPoint(
const geom::Polygon* p);
58 bool hasRepeatedPoint(
const geom::GeometryCollection* gc);
59 bool hasRepeatedPoint(
const geom::MultiPolygon* gc);
60 bool hasRepeatedPoint(
const geom::MultiLineString* gc);
68 #endif // GEOS_OP_REPEATEDPOINTTESTER_H