public class BBoxString extends Object
Modifier and Type | Field and Description |
---|---|
double |
lat1
lat1
|
double |
lat2
lat2
|
double |
lon1
lon1
|
double |
lon2
lon2
|
Constructor and Description |
---|
BBoxString() |
Modifier and Type | Method and Description |
---|---|
static BBoxString |
create(BBox box) |
static BBoxString |
parse(String string)
parse a string in form "lon1,lat1,lon2,lat2"
|
BBox |
toBbox() |
String |
toString() |
public double lon1
public double lon2
public double lat1
public double lat2
public static BBoxString parse(String string)
string
- the string to parse.public static BBoxString create(BBox box)
public BBox toBbox()