21#ifndef GEOS_OP_UNION_CASCADEDPOLYGONUNION_H
22#define GEOS_OP_UNION_CASCADEDPOLYGONUNION_H
24#include <geos/export.h>
30#include "GeometryListHolder.h"
71class GEOS_DLL CascadedPolygonUnion
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);
103 CascadedPolygonUnion();
124 std::vector<geom::Polygon*> polys;
125 for (T i=start; i!=end; ++i) {
129 return Union(&polys);
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:53
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:67
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
Models a collection of Polygons.
Definition MultiPolygon.h:61
Represents a linear polygon, which may include holes.
Definition Polygon.h:67
CascadedPolygonUnion(std::vector< geom::Polygon * > *polys)
Definition CascadedPolygonUnion.h:148
static geom::Geometry * Union(T start, T end)
Definition CascadedPolygonUnion.h:122
static geom::Geometry * Union(std::vector< geom::Polygon * > *polys)
static geom::Geometry * Union(const geom::MultiPolygon *polys)
Helper class holding Geometries, part of which are held by reference others are held exclusively.
Definition GeometryListHolder.h:35
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains 2-D and 1-D versions of the Sort-Tile-Recursive (STR) tree, a query-only R-tree.
Definition SIRtreePointInRing.h:32
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25