Class OverlayNGRobustFunctions
- java.lang.Object
-
- org.locationtech.jtstest.function.OverlayNGRobustFunctions
-
public class OverlayNGRobustFunctions extends Object
-
-
Constructor Summary
Constructors Constructor Description OverlayNGRobustFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doubleareaDelta(Geometry a, Geometry b)Computes the maximum area delta value resulting from identity equations over the overlay operations.static Geometrydifference(Geometry a, Geometry b)static GeometrydifferenceBA(Geometry a, Geometry b)static Geometryintersection(Geometry a, Geometry b)static booleanoverlayAreaTest(Geometry a, Geometry b)static GeometrysymDifference(Geometry a, Geometry b)static GeometryunaryUnion(Geometry a)static Geometryunion(Geometry a, Geometry b)static doubleunionArea(Geometry a)static doubleunionLength(Geometry a)
-
-
-
Method Detail
-
unionArea
public static double unionArea(Geometry a)
-
unionLength
public static double unionLength(Geometry a)
-
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. < 1e-6).- Parameters:
a- a geometryb- a geometry- Returns:
- the computed maximum area delta
-
-