16 #ifndef GEOS_GEOM_UTIL_POLYGONEXTRACTER_H
17 #define GEOS_GEOM_UTIL_POLYGONEXTRACTER_H
19 #include <geos/export.h>
20 #include <geos/geom/GeometryFilter.h>
21 #include <geos/geom/Polygon.h>
22 #include <geos/platform.h>
59 if (
const Polygon *p=dynamic_cast<const Polygon *>(geom) )
65 void filter_ro(
const Geometry *geom)
67 if (
const Polygon *p=dynamic_cast<const Polygon *>(geom) )
76 std::vector<const Polygon*>& comps;
79 PolygonExtracter(
const PolygonExtracter& other);
80 PolygonExtracter& operator=(
const PolygonExtracter& rhs);
Geometry classes support the concept of applying a Geometry filter to the Geometry.
Definition: GeometryFilter.h:48
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
Represents a linear polygon, which may include holes.
Definition: Polygon.h:66