17 #ifndef GEOS_GEOM_UTIL_POLYGONEXTRACTER_H
18 #define GEOS_GEOM_UTIL_POLYGONEXTRACTER_H
20 #include <geos/export.h>
21 #include <geos/geom/GeometryFilter.h>
22 #include <geos/geom/Polygon.h>
23 #include <geos/platform.h>
44 static void getPolygons(
const Geometry &geom, std::vector<const Polygon*>& ret)
60 if (
const Polygon *p=dynamic_cast<const Polygon *>(geom) )
66 void filter_ro(
const Geometry *geom)
68 if (
const Polygon *p=dynamic_cast<const Polygon *>(geom) )
77 std::vector<const Polygon*>& comps;
80 PolygonExtracter(
const PolygonExtracter& other);
81 PolygonExtracter& operator=(
const PolygonExtracter& rhs);