public class GWTBounds extends Object
GWTBounds class.
Constructor and Description |
---|
GWTBounds(double swLat,
double swLng,
double neLat,
double neLng)
Constructor for GWTBounds.
|
GWTBounds(GWTLatLng southWestCorner,
GWTLatLng northEastCorner)
Constructor for GWTBounds.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(GWTBounds bounds)
contains
|
boolean |
contains(GWTLatLng coords)
contains
|
boolean |
equals(Object o) |
GWTLatLng |
getNorthEastCorner()
getNorthEastCorner
|
GWTLatLng |
getSouthWestCorner()
getSouthWestCorner
|
int |
hashCode()
hashCode
|
String |
toString()
toString
|
public GWTBounds(GWTLatLng southWestCorner, GWTLatLng northEastCorner)
Constructor for GWTBounds.
public GWTBounds(double swLat, double swLng, double neLat, double neLng)
Constructor for GWTBounds.
swLat
- a double.swLng
- a double.neLat
- a double.neLng
- a double.public boolean contains(GWTLatLng coords)
contains
coords
- a GWTLatLng
object.public boolean contains(GWTBounds bounds)
contains
bounds
- a GWTBounds
object.public GWTLatLng getSouthWestCorner()
getSouthWestCorner
GWTLatLng
object.public GWTLatLng getNorthEastCorner()
getNorthEastCorner
GWTLatLng
object.Copyright © 2019. All rights reserved.