Class DiffFunctions
- java.lang.Object
-
- org.locationtech.jtstest.function.DiffFunctions
-
public class DiffFunctions extends Object
-
-
Constructor Summary
Constructors Constructor Description DiffFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryCollectiondiffSegments(Geometry a, Geometry b)static GeometryCollectiondiffSegmentsBoth(Geometry a, Geometry b)static MultiPointdiffVertices(Geometry a, Geometry b)Diff the vertices in A against B to find vertices in A which are not in B.static GeometryCollectiondiffVerticesBoth(Geometry a, Geometry b)static GeometryCollectionduplicateSegments(Geometry a)static GeometryCollectionsingleSegments(Geometry a)
-
-
-
Method Detail
-
diffVerticesBoth
public static GeometryCollection diffVerticesBoth(Geometry a, Geometry b)
-
diffVertices
public static MultiPoint diffVertices(Geometry a, Geometry b)
Diff the vertices in A against B to find vertices in A which are not in B.- Parameters:
a- a Geometryb- a Geometry- Returns:
- the vertices in A which are not in B
-
diffSegments
public static GeometryCollection diffSegments(Geometry a, Geometry b)
-
diffSegmentsBoth
public static GeometryCollection diffSegmentsBoth(Geometry a, Geometry b)
-
duplicateSegments
public static GeometryCollection duplicateSegments(Geometry a)
-
singleSegments
public static GeometryCollection singleSegments(Geometry a)
-
-