19#ifndef GEOS_OP_OVERLAY_SNAP_SNAPOVERLAYOP_H
20#define GEOS_OP_OVERLAY_SNAP_SNAPOVERLAYOP_H
22#include <geos/operation/overlay/OverlayOp.h>
23#include <geos/precision/CommonBitsRemover.h>
29#pragma warning(disable: 4251)
56class GEOS_DLL SnapOverlayOp
61 static std::auto_ptr<geom::Geometry>
65 SnapOverlayOp op(g0, g1);
66 return op.getResultGeometry(opCode);
69 static std::auto_ptr<geom::Geometry>
75 static std::auto_ptr<geom::Geometry>
81 static std::auto_ptr<geom::Geometry>
87 static std::auto_ptr<geom::Geometry>
98 computeSnapTolerance();
102 typedef std::auto_ptr<geom::Geometry> GeomPtr;
108 void computeSnapTolerance();
110 void snap(geom::GeomPtrPair& ret);
114 geom::GeomPtrPair& ret);
123 double snapTolerance;
125 std::auto_ptr<precision::CommonBitsRemover> cbr;
128 SnapOverlayOp(
const SnapOverlayOp& other);
129 SnapOverlayOp& operator=(
const SnapOverlayOp& rhs);
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
OpCode
The spatial functions supported by this class.
Definition OverlayOp.h:77
@ opSYMDIFFERENCE
The code for the Symmetric Difference overlay operation.
Definition OverlayOp.h:85
@ opUNION
The code for the Union overlay operation.
Definition OverlayOp.h:81
@ opINTERSECTION
The code for the Intersection overlay operation.
Definition OverlayOp.h:79
@ opDIFFERENCE
The code for the Difference overlay operation.
Definition OverlayOp.h:83
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that perform a topological overlay to compute boolean spatial functions.
Definition BufferBuilder.h:62
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25