20 #ifndef GEOS_OP_TOPOLOGYVALIDATIONERROR_H
21 #define GEOS_OP_TOPOLOGYVALIDATIONERROR_H
23 #include <geos/export.h>
26 #include <geos/geom/Coordinate.h>
40 class GEOS_DLL TopologyValidationError {
48 eDisconnectedInterior,
50 eRingSelfIntersection,
58 TopologyValidationError(
int newErrorType,
const geom::Coordinate& newPt);
59 TopologyValidationError(
int newErrorType);
60 geom::Coordinate& getCoordinate();
61 std::string getMessage();
63 std::string toString();
67 static const char* errMsg[];
77 #endif // GEOS_OP_TOPOLOGYVALIDATIONERROR_H