21 #ifndef GEOS_OP_UNION_CASCADEDPOLYGONUNION_H
22 #define GEOS_OP_UNION_CASCADEDPOLYGONUNION_H
24 #include <geos/export.h>
30 #include "GeometryListHolder.h"
35 class GeometryFactory;
74 std::vector<geom::Polygon*>* inputPolys;
84 static int const STRTREE_NODE_CAPACITY = 4;
100 static std::auto_ptr<geom::Geometry> restrictToPolygons(std::auto_ptr<geom::Geometry> g);
124 std::vector<geom::Polygon*> polys;
125 for (T i=start; i!=end; ++i) {
127 polys.push_back(const_cast<geom::Polygon*>(p));
129 return Union(&polys);
228 geom::Geometry* geom, std::vector<geom::Geometry*>& disjointGeoms);