18#include <geos/export.h>
19#include <geos/index/strtree/TemplateSTRtree.h>
37using geos::geom::Polygon;
38using geos::geom::LinearRing;
39using geos::geom::CoordinateXY;
42class GEOS_DLL IndexedNestedHoleTester {
46 const Polygon* polygon;
47 index::strtree::TemplateSTRtree<const LinearRing*> index;
48 CoordinateXY nestedPt;
55 IndexedNestedHoleTester(
const Polygon* p_polygon)
66 const CoordinateXY& getNestedPoint() {
return nestedPt; }
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple.
Definition LinearRing.h:54
Represents a linear polygon, which may include holes.
Definition Polygon.h:61
Provides classes for testing the validity of geometries.
Definition namespaces.h:289
Provides classes for implementing operations on geometries.
Definition namespaces.h:179
Basic namespace for all GEOS functionalities.
Definition geos.h:39