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 GeometryCollection
diffSegments(Geometry a, Geometry b)
static GeometryCollection
diffSegmentsBoth(Geometry a, Geometry b)
static MultiPoint
diffVertices(Geometry a, Geometry b)
Diff the vertices in A against B to find vertices in A which are not in B.static GeometryCollection
diffVerticesBoth(Geometry a, Geometry b)
static GeometryCollection
duplicateSegments(Geometry a)
static GeometryCollection
singleSegments(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)
-
-