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>
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);
Geometry classes support the concept of applying a Geometry filter to the Geometry.
Definition: GeometryFilter.h:49
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:168
Represents a linear polygon, which may include holes.
Definition: Polygon.h:67