|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.mapviewer.GeoBounds
public class GeoBounds
The GeoBounds class provides access the the North East and
South West corners of the bounds and provides an intersects method.
| Constructor Summary | |
|---|---|
GeoBounds(double minLat,
double minLng,
double maxLat,
double maxLng)
Constructor. |
|
GeoBounds(Set<GeoPosition> geoPositions)
Constructor. |
|
| Method Summary | |
|---|---|
GeoPosition |
getNorthWest()
Gets the north west position. |
GeoPosition |
getSouthEast()
Gets the south east position. |
boolean |
intersects(GeoBounds other)
Determines if this bounds intersects the other bounds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeoBounds(double minLat,
double minLng,
double maxLat,
double maxLng)
minLat - The minimum latitude.minLng - The minimum longitude.maxLat - The maximum latitude.maxLng - The maximum longitude.public GeoBounds(Set<GeoPosition> geoPositions)
geoPositions - A non null list of 2 or more different GeoBounds
objects.| Method Detail |
|---|
public boolean intersects(GeoBounds other)
other - The other bounds to test for intersection with.
public GeoPosition getNorthWest()
public GeoPosition getSouthEast()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||