19 #ifndef GEOS_OP_OVERLAY_SNAP_SNAPIFNEEDEDOVERLAYOP_H 20 #define GEOS_OP_OVERLAY_SNAP_SNAPIFNEEDEDOVERLAYOP_H 22 #include <geos/operation/overlay/OverlayOp.h> 51 static std::unique_ptr<geom::Geometry>
56 return op.getResultGeometry(opCode);
59 static std::unique_ptr<geom::Geometry>
62 return overlayOp(g0, g1, OverlayOp::opINTERSECTION);
65 static std::unique_ptr<geom::Geometry>
68 return overlayOp(g0, g1, OverlayOp::opUNION);
71 static std::unique_ptr<geom::Geometry>
74 return overlayOp(g0, g1, OverlayOp::opDIFFERENCE);
77 static std::unique_ptr<geom::Geometry>
80 return overlayOp(g0, g1, OverlayOp::opSYMDIFFERENCE);
91 typedef std::unique_ptr<geom::Geometry> GeomPtr;
111 #endif // ndef GEOS_OP_OVERLAY_SNAP_SNAPIFNEEDEDOVERLAYOP_H OpCode
The spatial functions supported by this class.
Definition: OverlayOp.h:79
Performs an overlay operation using snapping and enhanced precision to improve the robustness of the ...
Definition: SnapIfNeededOverlayOp.h:47
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
OverlayOp::overlayOp Adapter for use with geom::BinaryOp.
Definition: OverlayOp.h:406
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25