21#include <geos/operation/overlay/OverlayOp.h>
22#include <geos/precision/CommonBitsRemover.h>
28#pragma warning(disable: 4251)
59 static std::unique_ptr<geom::Geometry>
64 return op.getResultGeometry(opCode);
67 static std::unique_ptr<geom::Geometry>
70 return overlayOp(g0, g1, OverlayOp::opINTERSECTION);
73 static std::unique_ptr<geom::Geometry>
76 return overlayOp(g0, g1, OverlayOp::opUNION);
79 static std::unique_ptr<geom::Geometry>
82 return overlayOp(g0, g1, OverlayOp::opDIFFERENCE);
85 static std::unique_ptr<geom::Geometry>
88 return overlayOp(g0, g1, OverlayOp::opSYMDIFFERENCE);
96 computeSnapTolerance();
100 typedef std::unique_ptr<geom::Geometry> GeomPtr;
106 void computeSnapTolerance();
108 void snap(geom::GeomPtrPair& ret);
112 geom::GeomPtrPair& ret);
121 double snapTolerance;
123 std::unique_ptr<precision::CommonBitsRemover> cbr;
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
OpCode
The spatial functions supported by this class.
Definition: OverlayOp.h:78
Performs an overlay operation using snapping and enhanced precision to improve the robustness of the ...
Definition: SnapOverlayOp.h:55
Basic namespace for all GEOS functionalities.
Definition: geos.h:39