Class SnapIfNeededOverlayOp
java.lang.Object
org.locationtech.jts.operation.overlay.snap.SnapIfNeededOverlayOp
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.- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Geometry
difference
(Geometry g0, Geometry g1) getResultGeometry
(int opCode) static Geometry
intersection
(Geometry g0, Geometry g1) static Geometry
static Geometry
symDifference
(Geometry g0, Geometry g1) static Geometry
-
Field Details
-
geom
-
-
Constructor Details
-
SnapIfNeededOverlayOp
-
-
Method Details
-
overlayOp
-
intersection
-
union
-
difference
-
symDifference
-
getResultGeometry
-