21#include <geos/export.h>
25#include <unordered_set>
27#include <geos/geom/Geometry.h>
28#include <geos/operation/union/UnionStrategy.h>
29#include <geos/operation/union/CascadedPolygonUnion.h>
103 , unionFunction(unionFun)
113 std::unique_ptr<geom::Geometry> doUnion();
126 std::unique_ptr<geom::Geometry> extractByEnvelope(
const geom::Envelope& env,
const geom::Geometry* geom, std::vector<std::unique_ptr<geom::Geometry>>& disjointGeoms);
127 static std::unique_ptr<geom::Geometry> combine(std::unique_ptr<geom::Geometry>& unionGeom, std::vector<std::unique_ptr<geom::Geometry>>& disjointPolys);
131 static bool isEqual(std::vector<geom::LineSegment>& segs0, std::vector<geom::LineSegment>& segs1);
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:58
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:66
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
const GeometryFactory * getFactory() const
Gets the factory which contains the context in which this geometry was created.
Definition: Geometry.h:216
Implementation of UnionStrategy that provides overlay using the first generation overlay routines.
Definition: CascadedPolygonUnion.h:48
Unions MultiPolygons efficiently by using full topological union only for polygons which may overlap ...
Definition: OverlapUnion.h:96
Definition: UnionStrategy.h:40
Basic namespace for all GEOS functionalities.
Definition: geos.h:39