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);