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);
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:53
CascadedPolygonUnion(std::vector< geom::Polygon * > *polys)
Definition: CascadedPolygonUnion.h:147
Models a collection of Polygons.
Definition: MultiPolygon.h:60
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
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
static geom::Geometry * Union(T start, T end)
Definition: CascadedPolygonUnion.h:121
Provides an efficient method of unioning a collection of Polygonal geometries. This algorithm is fast...
Definition: CascadedPolygonUnion.h:70
Helper class holding Geometries, part of which are held by reference others are held exclusively...
Definition: GeometryListHolder.h:34