public class Bounding
extends java.lang.Object
Constructor and Description |
---|
Bounding() |
Bounding(double minLat,
double minLon,
double maxLat,
double maxLon) |
Bounding(int x,
int y,
int zoom)
Slippy-Map-Tile-Konstruktor
|
Bounding(LatLon bottomLeft,
LatLon topRight) |
Bounding(LatLons polygon) |
Modifier and Type | Method and Description |
---|---|
LatLon |
calcBoxCenter() |
boolean |
contains(double lat,
double lon) |
boolean |
contains(LatLon latLon) |
boolean |
contains(LatLons latLons) |
boolean |
contains(long coord) |
boolean |
contains(long[] coords) |
void |
grow(double lat,
double lon) |
void |
grow(LatLon latLon) |
static void |
main(java.lang.String[] args) |
java.lang.String |
toString() |
public Bounding()
public Bounding(int x, int y, int zoom)
x
- inty
- intzoom
- intpublic Bounding(LatLons polygon)
public Bounding(double minLat, double minLon, double maxLat, double maxLon)
public LatLon calcBoxCenter()
public void grow(LatLon latLon)
public void grow(double lat, double lon)
public boolean contains(LatLons latLons)
public boolean contains(long[] coords)
public boolean contains(long coord)
public boolean contains(LatLon latLon)
public boolean contains(double lat, double lon)
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)