| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Location |
max()
Return the upper right coordinate (maximum latitude and longitude) as a
Location. |
Location |
min()
Return the lower left coordinate (minimum latatide and longitude) as a
Location. |
double[] |
toArray()
Return the values of this
Bounds object in the form
[min().lon(), min().lat(), max().lon(), max().lat()]. |
LocationList |
toList()
Return this
Bounds as a LocationList of five vertices,
starting with min() and winding counter-clockwise. |
String |
toString()
Returns the string representation of
toArray(). |
public Location min()
Location.public Location max()
Location.public LocationList toList()
Bounds as a LocationList of five vertices,
starting with min() and winding counter-clockwise.public double[] toArray()
Bounds object in the form
[min().lon(), min().lat(), max().lon(), max().lat()].