Class OverlayNGOptFunctions
java.lang.Object
org.locationtech.jtstest.function.OverlayNGOptFunctions
Functions to test using spatial predicates
as a filter in front of overlay operations
to optimize performance.
- Author:
- Martin Davis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Geometrydifference(Geometry a, Geometry b) static Geometryintersection(Geometry a, Geometry b) static GeometryUse spatial predicates as a filter in front of intersection.static GeometryUse prepared geometry spatial predicates as a filter in front of intersection, with the first operand prepared.static Geometrystatic GeometryintersectionPrep(Geometry a, Geometry b) Using auto slows things down quite a bit (due to need to scan to find scale factor), so not recommended.static Geometrystatic GeometryintersectionPrepSR(Geometry a, Geometry b, double scaleFactor) static GeometryintersectionSR(Geometry a, Geometry b, double scaleFactor)
-
Constructor Details
-
OverlayNGOptFunctions
public OverlayNGOptFunctions()
-
-
Method Details
-
intersectionOrigClassic
-
intersectionOrigPrep
-
intersectionOrigPrepNoCache
-
intersectionSR
-
intersectionPrepSR
-
difference
-
intersection
-
intersectionPrep
-
intersectionPrepNoCache
-