public class OverlayEngine
extends java.lang.Object
| Constructor and Description | 
|---|
OverlayEngine()
Creates a new OverlayEngine. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addFeature(com.vividsolutions.jts.geom.Geometry intersection,
          FeatureCollection overlay,
          AttributeMapping mapping,
          Feature a,
          Feature b)  | 
FeatureCollection | 
overlay(FeatureCollection a,
       FeatureCollection b,
       AttributeMapping mapping,
       TaskMonitor monitor)
Creates the overlay of the two datasets. 
 | 
FeatureCollection | 
overlay(FeatureCollection a,
       FeatureCollection b,
       TaskMonitor monitor)
Creates the overlay of the two datasets. 
 | 
void | 
setAllowingPolygonsOnly(boolean allowingPolygonsOnly)  | 
void | 
setSplittingGeometryCollections(boolean splittingGeometryCollections)  | 
public FeatureCollection overlay(FeatureCollection a, FeatureCollection b, TaskMonitor monitor)
a - the first dataset involved in the overlayb - the second dataset involved in the overlaypublic FeatureCollection overlay(FeatureCollection a, FeatureCollection b, AttributeMapping mapping, TaskMonitor monitor)
a - the first dataset involved in the overlayb - the second dataset involved in the overlaymapping - specifies which attributes are transferredprotected void addFeature(com.vividsolutions.jts.geom.Geometry intersection,
              FeatureCollection overlay,
              AttributeMapping mapping,
              Feature a,
              Feature b)
public void setSplittingGeometryCollections(boolean splittingGeometryCollections)
public void setAllowingPolygonsOnly(boolean allowingPolygonsOnly)