19 #ifndef GEOS_OP_VALID_INDEXEDNESTEDSHELLTESTER_H
20 #define GEOS_OP_VALID_INDEXEDNESTEDSHELLTESTER_H
22 #include <geos/geom/Polygon.h>
23 #include <geos/index/SpatialIndex.h>
32 class IndexedPointInAreaLocator;
43 class PolygonIndexedLocators;
52 class IndexedNestedShellTester {
55 IndexedNestedShellTester(
const geomgraph::GeometryGraph& g,
size_t initialCapacity);
57 void add(
const geom::Polygon& p) {
61 const geom::Coordinate* getNestedPoint();
79 void checkShellNotNested(
const geom::LinearRing* shell, PolygonIndexedLocators & locs);
90 const geom::Coordinate* checkShellInsideHole(
const geom::LinearRing* shell,
91 algorithm::locate::IndexedPointInAreaLocator & holeLoc);
94 const geomgraph::GeometryGraph& graph;
96 std::vector<const geom::Polygon*> polys;
99 const geom::Coordinate* nestedPt;
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26