Class DiffGeometryIndex
java.lang.Object
com.vividsolutions.jump.qa.diff.DiffGeometryIndex
-
Constructor Summary
ConstructorsConstructorDescriptionDiffGeometryIndex(FeatureCollection fc, DiffGeometryMatcher diffMatcher, boolean splitIntoComponents) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasMatch(org.locationtech.jts.geom.Geometry testGeom) static Collection<org.locationtech.jts.geom.Geometry> splitGeometry(org.locationtech.jts.geom.Geometry geom, boolean splitIntoComponents) Extract simple geometries from a Geometry or a GeometryCollection
-
Constructor Details
-
DiffGeometryIndex
public DiffGeometryIndex(FeatureCollection fc, DiffGeometryMatcher diffMatcher, boolean splitIntoComponents)
-
-
Method Details
-
splitGeometry
public static Collection<org.locationtech.jts.geom.Geometry> splitGeometry(org.locationtech.jts.geom.Geometry geom, boolean splitIntoComponents) Extract simple geometries from a Geometry or a GeometryCollection- Parameters:
geom- the geometry to processsplitIntoComponents- true to decompose geometry into simple ones- Returns:
- a list of geometries
-
hasMatch
public boolean hasMatch(org.locationtech.jts.geom.Geometry testGeom) -
getUnmatchedFeatures
-