public class IntersectGeometries
extends java.lang.Object
Constructor and Description |
---|
IntersectGeometries() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkIntersectionByGeomTypeB(com.vividsolutions.jts.geom.Geometry g1,
com.vividsolutions.jts.geom.Geometry g2)
Evaluates if two geometries intersect.
|
static boolean |
checkPolygonIntersection(com.vividsolutions.jts.geom.Geometry g1,
com.vividsolutions.jts.geom.Geometry g2)
Evaluates if two polygon geometries intersect.
|
static java.util.ArrayList<com.vividsolutions.jts.geom.Geometry> |
intersectPolygons(java.util.ArrayList<com.vividsolutions.jts.geom.Geometry> geomList,
double accurracy,
TaskMonitor monitor,
PlugInContext context)
the method intersects all polygons in the geometry list with each other.
|
static java.util.Collection |
nodeLines(java.util.Collection lines)
Nodes a collection of linestrings.
|
public static java.util.ArrayList<com.vividsolutions.jts.geom.Geometry> intersectPolygons(java.util.ArrayList<com.vividsolutions.jts.geom.Geometry> geomList, double accurracy, TaskMonitor monitor, PlugInContext context)
geomList
- list of geometries to processaccurracy
- this parameter is currently not used and replaced by the use of a fixed precision modelmonitor
- can be nullcontext
- can be nullpublic static boolean checkIntersectionByGeomTypeB(com.vividsolutions.jts.geom.Geometry g1, com.vividsolutions.jts.geom.Geometry g2)
g1
- first geometryg2
- second geometrypublic static boolean checkPolygonIntersection(com.vividsolutions.jts.geom.Geometry g1, com.vividsolutions.jts.geom.Geometry g2)
g1
- first geometryg2
- second geometrypublic static java.util.Collection nodeLines(java.util.Collection lines)
lines
- the linear geometries to node