Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::operation::overlay::snap::SnapIfNeededOverlayOp Class Reference

Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result. More...

#include <SnapIfNeededOverlayOp.h>

List of all members.

Public Types

typedef std::auto_ptr< geom::GeometryGeomPtr

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::GeometryoverlayOp (const geom::Geometry &g0, const geom::Geometry &g1, OverlayOp::OpCode opCode)
std::auto_ptr< geom::Geometryintersection (const geom::Geometry &g0, const geom::Geometry &g1)
std::auto_ptr< geom::GeometryUnion (const geom::Geometry &g0, const geom::Geometry &g1)
std::auto_ptr< geom::Geometrydifference (const geom::Geometry &g0, const geom::Geometry &g1)
std::auto_ptr< geom::GeometrysymDifference (const geom::Geometry &g0, const geom::Geometry &g1)


Detailed Description

Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result.

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.


The documentation for this class was generated from the following file:
Generated on Wed Jul 4 09:00:36 2012 for GEOS by  doxygen 1.3.9.1