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::unique_ptr<geom::Geometry> restrictToPolygons(std::unique_ptr<geom::Geometry> g);
124 std::vector<geom::Polygon*> polys;
125 for (T i=start; i!=end; ++i) {
126 const geom::Polygon* p = dynamic_cast<const geom::Polygon*>(*i);
127 polys.push_back(const_cast<geom::Polygon*>(p));
129 return Union(&polys);
228 geom::Geometry* geom, std::vector<geom::Geometry*>& disjointGeoms);
232 std::vector<geom::Geometry*>& intersectingGeoms,
233 std::vector<geom::Geometry*>& disjointGeoms);
236 std::vector<geom::Geometry*>& sourceGeoms,
237 std::vector<geom::Geometry*>& intersectingGeoms,
238 std::vector<geom::Geometry*>& disjointGeoms);
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:59
CascadedPolygonUnion(std::vector< geom::Polygon * > *polys)
Definition: CascadedPolygonUnion.h:148
Models a collection of Polygons.
Definition: MultiPolygon.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:177
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
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
static geom::Geometry * Union(T start, T end)
Definition: CascadedPolygonUnion.h:122
Provides an efficient method of unioning a collection of Polygonal geometries. This algorithm is fast...
Definition: CascadedPolygonUnion.h:71
Helper class holding Geometries, part of which are held by reference others are held exclusively.
Definition: GeometryListHolder.h:34