Package org.locationtech.jtstest.geomop
Class TestCaseGeometryFunctions
java.lang.Object
org.locationtech.jtstest.geomop.TestCaseGeometryFunctions
Geometry functions which
augment the existing methods on
Geometry
,
for use in XML Test files.
This is the default used in the TestRunner,
and thus all the operations
in this class should be named differently to the Geometry methods
(otherwise they will shadow the real Geometry methods).
If replacing a Geometry method is desired, this can be done via the -geomfunc argument to the TestRunner.
- Author:
- Martin Davis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Geometry
bufferMitredJoin
(Geometry g, double distance) static Geometry
static Geometry
differenceNG
(Geometry geom0, Geometry geom1) static Geometry
differenceSR
(Geometry geom0, Geometry geom1, double scale) static Geometry
intersectionNG
(Geometry geom0, Geometry geom1) static Geometry
intersectionSR
(Geometry geom0, Geometry geom1, double scale) static double
static Geometry
static boolean
overlayAreaTest
(Geometry a, Geometry b) static Geometry
static Geometry
static Geometry
reducePrecision
(Geometry g, double scaleFactor) static Geometry
symDifferenceNG
(Geometry geom0, Geometry geom1) static Geometry
symDifferenceSR
(Geometry geom0, Geometry geom1, double scale) static double
static double
unionLength
(Geometry geom) static Geometry
static Geometry
-
Constructor Details
-
TestCaseGeometryFunctions
public TestCaseGeometryFunctions()
-
-
Method Details
-
bufferMitredJoin
-
densify
-
minClearance
-
minClearanceLine
-
polygonize
-
polygonizeValidPolygonal
-
reducePrecision
-
intersectionNG
-
unionNG
-
differenceNG
-
symDifferenceNG
-
intersectionSR
-
unionSr
-
differenceSR
-
symDifferenceSR
-
unionArea
-
unionLength
-
overlayAreaTest
-