|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.geo.shape.PolygonProcessing
public class PolygonProcessing
| Constructor Summary | |
|---|---|
PolygonProcessing()
|
|
| Method Summary | |
|---|---|
static Polygon |
intersection(Polygon a,
Polygon b)
returns the intersection of two polygons a, b |
static boolean |
isContained(Polygon internal,
Polygon external)
checks if polygon internal is contained inside the polygon external |
static void |
main(String[] args)
used only for testing - Std out will not be used by this class when called by the container |
static boolean |
overlaps(Polygon a,
Polygon b)
checks if a polygon a overlaps with a polygon b |
static Polygon |
union(Polygon a,
Polygon b)
returns the union of two polygons a, b |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolygonProcessing()
| Method Detail |
|---|
public static Polygon intersection(Polygon a,
Polygon b)
a - - polygon ab - - polygon b
public static Polygon union(Polygon a,
Polygon b)
a - - polygon ab - - polygon b
public static boolean isContained(Polygon internal,
Polygon external)
internal - - the internal polygonexternal - - the external polygon
public static boolean overlaps(Polygon a,
Polygon b)
a - - the a polygonb - - the b polygon
public static void main(String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||