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