public class GeoBounds extends Object
| Constructor and Description |
|---|
GeoBounds(double south,
double north,
double west,
double east)
Creates a new geographic point using the given coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
double |
getEast()
Returns the east-most longitude.
|
double |
getNorth()
Returns the north-most latitude.
|
double |
getSouth()
Returns the south-most latitude.
|
double |
getWest()
Returns the west-most longitude.
|
int |
hashCode() |
String |
toString() |
public GeoBounds(double south,
double north,
double west,
double east)
IllegalArgumentException - if south is < -90.0 or south is > +90.0IllegalArgumentException - if north is < -90.0 or north is > +90.0IllegalArgumentException - if west is < -180.0 or west is > +180.0IllegalArgumentException - if east is < -180.0 or east is > +180.0public double getEast()
public double getNorth()
public double getSouth()
public double getWest()