Package com.vividsolutions.jump.qa.diff
Class DiffGeometryIndex
- java.lang.Object
-
- com.vividsolutions.jump.qa.diff.DiffGeometryIndex
-
public class DiffGeometryIndex extends Object
-
-
Constructor Summary
Constructors Constructor Description DiffGeometryIndex(FeatureCollection fc, DiffGeometryMatcher diffMatcher, boolean splitIntoComponents)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Feature>getUnmatchedFeatures()booleanhasMatch(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 Detail
-
DiffGeometryIndex
public DiffGeometryIndex(FeatureCollection fc, DiffGeometryMatcher diffMatcher, boolean splitIntoComponents)
-
-
Method Detail
-
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
public Collection<Feature> getUnmatchedFeatures()
-
-