70 static constexpr int NUM_SNAP_TRIES = 5;
75 static constexpr double SNAP_TOL_FACTOR = 1e12;
77 static std::unique_ptr<Geometry> overlaySnapping(
80 static std::unique_ptr<Geometry> overlaySnapBoth(
83 static std::unique_ptr<Geometry> overlaySnapTol(
86 static double snapTolerance(
const Geometry* geom);
95 static double ordinateMagnitude(
const Geometry* geom);
104 static std::unique_ptr<Geometry>
118 static std::unique_ptr<Geometry>
119 snapSelf(
const Geometry* geom,
double snapTol);
128 return OverlayNGRobust::Overlay(g0, g1, OverlayNG::UNION);
131 bool isFloatingPrecision()
const override
138 static std::unique_ptr<Geometry> Intersection(
141 static std::unique_ptr<Geometry> Union(
144 static std::unique_ptr<Geometry> Difference(
147 static std::unique_ptr<Geometry> SymDifference(
150 static std::unique_ptr<Geometry> Union(
153 static std::unique_ptr<Geometry> Overlay(
156 static std::unique_ptr<Geometry> overlaySnapTries(