20 #ifndef GEOS_OP_OVERLAY_SNAP_SNAPIFNEEDEDOVERLAYOP_H
21 #define GEOS_OP_OVERLAY_SNAP_SNAPIFNEEDEDOVERLAYOP_H
23 #include <geos/operation/overlay/OverlayOp.h>
55 static std::auto_ptr<geom::Geometry>
60 return op.getResultGeometry(opCode);
63 static std::auto_ptr<geom::Geometry>
66 return overlayOp(g0, g1, OverlayOp::opINTERSECTION);
69 static std::auto_ptr<geom::Geometry>
72 return overlayOp(g0, g1, OverlayOp::opUNION);
75 static std::auto_ptr<geom::Geometry>
78 return overlayOp(g0, g1, OverlayOp::opDIFFERENCE);
81 static std::auto_ptr<geom::Geometry>
84 return overlayOp(g0, g1, OverlayOp::opSYMDIFFERENCE);
95 typedef std::auto_ptr<geom::Geometry> GeomPtr;
115 #endif // ndef GEOS_OP_OVERLAY_SNAP_SNAPIFNEEDEDOVERLAYOP_H
OpCode
The spatial functions supported by this class.
Definition: OverlayOp.h:77
Performs an overlay operation using snapping and enhanced precision to improve the robustness of the ...
Definition: SnapIfNeededOverlayOp.h:50
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:168
OverlayOp::overlayOp Adapter for use with geom::BinaryOp.
Definition: OverlayOp.h:337