public class PolygonMerge
extends java.lang.Object
| Constructor and Description |
|---|
PolygonMerge(com.vividsolutions.jts.geom.Geometry poly1,
com.vividsolutions.jts.geom.Geometry poly2) |
| Modifier and Type | Method and Description |
|---|---|
com.vividsolutions.jts.geom.Geometry |
getOutPolygon() |
int |
isMergeSuccesfull() |
boolean |
isPolys() |
public PolygonMerge(com.vividsolutions.jts.geom.Geometry poly1,
com.vividsolutions.jts.geom.Geometry poly2)
public int isMergeSuccesfull()
0: polys dont touch, 1: sucessfull, 2: polys touch but only with one point on line. thus a multipolygon is created.
public com.vividsolutions.jts.geom.Geometry getOutPolygon()
public boolean isPolys()