Class OverlayNGRobustFunctions

java.lang.Object
org.locationtech.jtstest.function.OverlayNGRobustFunctions

public class OverlayNGRobustFunctions extends Object
  • Constructor Details

    • OverlayNGRobustFunctions

      public OverlayNGRobustFunctions()
  • Method Details

    • difference

      public static Geometry difference(Geometry a, Geometry b)
    • differenceBA

      public static Geometry differenceBA(Geometry a, Geometry b)
    • intersection

      public static Geometry intersection(Geometry a, Geometry b)
    • union

      public static Geometry union(Geometry a, Geometry b)
    • symDifference

      public static Geometry symDifference(Geometry a, Geometry b)
    • unaryUnion

      public static Geometry unaryUnion(Geometry a)
    • unionArea

      public static double unionArea(Geometry a)
    • unionLength

      public static double unionLength(Geometry a)
    • overlayAreaTest

      public static boolean overlayAreaTest(Geometry a, Geometry b)
    • areaDelta

      public static double areaDelta(Geometry a, Geometry b)
      Computes the maximum area delta value resulting from identity equations over the overlay operations. The delta value is normalized to the total area of the geometries. If the overlay operations are computed correctly the area delta is expected to be very small (e.g. invalid input: '<' 1e-6).
      Parameters:
      a - a geometry
      b - a geometry
      Returns:
      the computed maximum area delta