17#include <geos/geom/LineSegment.h>
18#include <geos/geom/Geometry.h>
21#include <unordered_set>
27 class GeometryFactory;
35 class GEOS_DLL CoverageUnion {
37 static std::unique_ptr<geom::Geometry> Union(
const geom::Geometry* geom);
40 CoverageUnion() =
default;
42 void extractSegments(
const geom::Polygon* geom);
43 void extractSegments(
const geom::Geometry* geom);
44 void extractSegments(
const geom::LineString* geom);
46 std::unique_ptr<geom::Geometry> polygonize(
const geom::GeometryFactory* gf);
47 std::unordered_set<geos::geom::LineSegment, geos::geom::LineSegment::HashCode> segments;
48 static constexpr double AREA_PCT_DIFF_TOL = 1e-6;
Basic namespace for all GEOS functionalities.
Definition: geos.h:39