public class BoundingBox extends Object implements Serializable
| Constructor and Description |
|---|
BoundingBox(BoundingBox that) |
BoundingBox(double y1,
double y2,
double x1,
double x2) |
BoundingBox(WGS84Point p1,
WGS84Point p2)
create a bounding box defined by two coordinates
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(WGS84Point point) |
boolean |
equals(Object obj) |
void |
expandToInclude(BoundingBox other) |
WGS84Point |
getCenterPoint() |
double |
getLatitudeSize() |
double |
getLongitudeSize() |
WGS84Point |
getLowerRight() |
double |
getMaxLat() |
double |
getMaxLon() |
double |
getMinLat() |
double |
getMinLon() |
WGS84Point |
getUpperLeft() |
int |
hashCode() |
boolean |
intersects(BoundingBox other) |
String |
toString() |
public BoundingBox(WGS84Point p1, WGS84Point p2)
public BoundingBox(double y1,
double y2,
double x1,
double x2)
public BoundingBox(BoundingBox that)
public WGS84Point getUpperLeft()
public WGS84Point getLowerRight()
public double getLatitudeSize()
public double getLongitudeSize()
public boolean contains(WGS84Point point)
public boolean intersects(BoundingBox other)
public WGS84Point getCenterPoint()
public void expandToInclude(BoundingBox other)
public double getMinLon()
public double getMinLat()
public double getMaxLat()
public double getMaxLon()
Copyright © 2015. All Rights Reserved.