22 #ifndef GEOS_OP_ISVALIDOP_H
23 #define GEOS_OP_ISVALIDOP_H
25 #include <geos/export.h>
27 #include <geos/operation/valid/TopologyValidationError.h>
32 class TopologyValidationError;
35 class CoordinateSequence;
36 class GeometryFactory;
42 class GeometryCollection;
44 class MultiLineString;
48 class EdgeIntersectionList;
83 void checkConsistentArea(geomgraph::GeometryGraph *graph);
94 void checkNoSelfIntersectingRings(geomgraph::GeometryGraph *graph);
102 void checkNoSelfIntersectingRing(
105 void checkTooFewPoints(geomgraph::GeometryGraph *graph);
119 geomgraph::GeometryGraph *graph);
134 geomgraph::GeometryGraph *graph);
151 geomgraph::GeometryGraph *graph);
166 geomgraph::GeometryGraph *graph);
181 geomgraph::GeometryGraph *graph);
183 void checkConnectedInteriors(geomgraph::GeometryGraph &graph);
193 bool isSelfTouchingRingFormingHoleValid;
205 geomgraph::GeometryGraph *graph);
227 parentGeometry(geom),
230 isSelfTouchingRingFormingHoleValid(
false)
270 isSelfTouchingRingFormingHoleValid = isValid;
279 #endif // GEOS_OP_ISVALIDOP_H
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:61
Models a collection of Polygons.
Definition: MultiPolygon.h:61
Implements the algorithsm required to compute the isValid() method for Geometrys. ...
Definition: IsValidOp.h:62
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:168
Definition: EdgeIntersectionList.h:59
virtual ~IsValidOp()
TODO: validErr can't be a pointer!
Definition: IsValidOp.h:234
Definition: LineString.h:71
Represents a linear polygon, which may include holes.
Definition: Polygon.h:67
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:57
Models an OGC SFS LinearRing.
Definition: LinearRing.h:58
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:60
void setSelfTouchingRingFormingHoleValid(bool isValid)
Sets whether polygons using Self-Touching Rings to form holes are reported as valid.
Definition: IsValidOp.h:268
Contains information about the nature and location of a Geometry validation error.
Definition: TopologyValidationError.h:41