GEOS
3.9.1dev
|
Performs an overlay operation using snapping and enhanced precision to improve the robustness of the result. More...
#include <SnapIfNeededOverlayOp.h>
Public Types | |
typedef std::unique_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 | |
static std::unique_ptr< geom::Geometry > | overlayOp (const geom::Geometry &g0, const geom::Geometry &g1, OverlayOp::OpCode opCode) |
static std::unique_ptr< geom::Geometry > | intersection (const geom::Geometry &g0, const geom::Geometry &g1) |
static std::unique_ptr< geom::Geometry > | Union (const geom::Geometry &g0, const geom::Geometry &g1) |
static std::unique_ptr< geom::Geometry > | difference (const geom::Geometry &g0, const geom::Geometry &g1) |
static std::unique_ptr< geom::Geometry > | symDifference (const geom::Geometry &g0, const geom::Geometry &g1) |
Private Member Functions | |
SnapIfNeededOverlayOp (const SnapIfNeededOverlayOp &other)=delete | |
SnapIfNeededOverlayOp & | operator= (const SnapIfNeededOverlayOp &rhs)=delete |
Private Attributes | |
const geom::Geometry & | geom0 |
const geom::Geometry & | geom1 |
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.
Definition at line 47 of file SnapIfNeededOverlayOp.h.
typedef std::unique_ptr<geom::Geometry> geos::operation::overlay::snap::SnapIfNeededOverlayOp::GeomPtr |
Definition at line 91 of file SnapIfNeededOverlayOp.h.
|
inline |
Definition at line 83 of file SnapIfNeededOverlayOp.h.
|
privatedelete |
|
inlinestatic |
Definition at line 72 of file SnapIfNeededOverlayOp.h.
GeomPtr geos::operation::overlay::snap::SnapIfNeededOverlayOp::getResultGeometry | ( | OverlayOp::OpCode | opCode | ) |
|
inlinestatic |
Definition at line 60 of file SnapIfNeededOverlayOp.h.
|
privatedelete |
|
inlinestatic |
Definition at line 52 of file SnapIfNeededOverlayOp.h.
References getResultGeometry().
|
inlinestatic |
Definition at line 78 of file SnapIfNeededOverlayOp.h.
|
inlinestatic |
Definition at line 66 of file SnapIfNeededOverlayOp.h.
|
private |
Definition at line 97 of file SnapIfNeededOverlayOp.h.
|
private |
Definition at line 98 of file SnapIfNeededOverlayOp.h.