|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjump.core.geomutils.algorithm.PolygonMerge
public class PolygonMerge
Merges two polygon and returns the result via getOutPolygon() if the result is not of another geometry type. The merge is done with the JTS union() method.
| Constructor Summary | |
|---|---|
PolygonMerge(com.vividsolutions.jts.geom.Geometry poly1,
com.vividsolutions.jts.geom.Geometry poly2)
|
|
| Method Summary | |
|---|---|
com.vividsolutions.jts.geom.Geometry |
getOutPolygon()
|
int |
isMergeSuccesfull()
|
boolean |
isPolys()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolygonMerge(com.vividsolutions.jts.geom.Geometry poly1,
com.vividsolutions.jts.geom.Geometry poly2)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||