20 #ifndef GEOS_OP_UNION_CASCADEDPOLYGONUNION_H
21 #define GEOS_OP_UNION_CASCADEDPOLYGONUNION_H
23 #include <geos/export.h>
29 #include "GeometryListHolder.h"
34 class GeometryFactory;
73 std::vector<geom::Polygon*>* inputPolys;
83 static int const STRTREE_NODE_CAPACITY = 4;
99 static std::auto_ptr<geom::Geometry> restrictToPolygons(std::auto_ptr<geom::Geometry> g);
123 std::vector<geom::Polygon*> polys;
124 for (T i=start; i!=end; ++i) {
126 polys.push_back(const_cast<geom::Polygon*>(p));
128 return Union(&polys);
227 geom::Geometry* geom, std::vector<geom::Geometry*>& disjointGeoms);