Class SnapIfNeededOverlayOp

Hierarchy: Object , SnapIfNeededOverlayOp
public class 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.
Authors:
Martin Davis

Other

  • version: 1.7
public SnapIfNeededOverlayOp(Geometry g1, Geometry g2)
public static Geometry overlayOp(Geometry g0, Geometry g1, int opCode)
public static Geometry intersection(Geometry g0, Geometry g1)
public static Geometry union(Geometry g0, Geometry g1)
public static Geometry difference(Geometry g0, Geometry g1)
public static Geometry symDifference(Geometry g0, Geometry g1)
public Geometry getResultGeometry(int opCode)