#include <SnapIfNeededOverlayOp.h>
Public Types | |
typedef std::auto_ptr< geom::Geometry > | GeomPtr |
Public Member Functions | |
SnapIfNeededOverlayOp (const geom::Geometry &g1, const geom::Geometry &g2) | |
GeomPtr | getResultGeometry (OverlayOp::OpCode opCode) |
Static Public Member Functions | |
std::auto_ptr< geom::Geometry > | overlayOp (const geom::Geometry &g0, const geom::Geometry &g1, OverlayOp::OpCode opCode) |
std::auto_ptr< geom::Geometry > | intersection (const geom::Geometry &g0, const geom::Geometry &g1) |
std::auto_ptr< geom::Geometry > | Union (const geom::Geometry &g0, const geom::Geometry &g1) |
std::auto_ptr< geom::Geometry > | difference (const geom::Geometry &g0, const geom::Geometry &g1) |
std::auto_ptr< geom::Geometry > | symDifference (const geom::Geometry &g0, const geom::Geometry &g1) |
This class only uses snapping if an error is detected when running the standard JTS overlay code. Errors detected include thrown exceptions (in particular, TopologyException) and invalid overlay computations.