Class OverlayNGRobustFunctions
java.lang.Object
org.locationtech.jtstest.function.OverlayNGRobustFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
Computes the maximum area delta value resulting from identity equations over the overlay operations.static Geometry
difference
(Geometry a, Geometry b) static Geometry
differenceBA
(Geometry a, Geometry b) static Geometry
intersection
(Geometry a, Geometry b) static boolean
overlayAreaTest
(Geometry a, Geometry b) static Geometry
symDifference
(Geometry a, Geometry b) static Geometry
static Geometry
static double
static double
-
Constructor Details
-
OverlayNGRobustFunctions
public OverlayNGRobustFunctions()
-
-
Method Details
-
difference
-
differenceBA
-
intersection
-
union
-
symDifference
-
unaryUnion
-
unionArea
-
unionLength
-
overlayAreaTest
-
areaDelta
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 geometryb
- a geometry- Returns:
- the computed maximum area delta
-