GEOS  3.13.0dev
Public Member Functions | Static Public Member Functions | List of all members
geos::operation::overlay::snap::SnapOverlayOp Class Reference

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

#include <SnapOverlayOp.h>

Public Member Functions

 SnapOverlayOp (const geom::Geometry &g1, const geom::Geometry &g2)
 
std::unique_ptr< geom::GeometrygetResultGeometry (int opCode)
 

Static Public Member Functions

static std::unique_ptr< geom::GeometryoverlayOp (const geom::Geometry &g0, const geom::Geometry &g1, int opCode)
 
static std::unique_ptr< geom::Geometryintersection (const geom::Geometry &g0, const geom::Geometry &g1)
 
static std::unique_ptr< geom::GeometryUnion (const geom::Geometry &g0, const geom::Geometry &g1)
 
static std::unique_ptr< geom::Geometrydifference (const geom::Geometry &g0, const geom::Geometry &g1)
 
static std::unique_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 always uses snapping. This is less performant than the standard JTS overlay code, and may even introduce errors which were not present in the original data. For this reason, this class should only be used if the standard overlay code fails to produce a correct result.


The documentation for this class was generated from the following file: