@Deprecated public class LLRect extends Object
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Constructor | Description |
---|---|
LLRect(LatLng ll,
LatLng ur) |
Deprecated.
|
LLRect(LLRect other) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
double |
area() |
Deprecated.
Return the area in units of lat-lng squared.
|
static LLRect |
createBox(LatLng center,
double widthMi,
double heightMi) |
Deprecated.
Approximates a box centered at the given point with the given width and height in miles.
|
boolean |
equals(Object obj) |
Deprecated.
|
LatLng |
getLowerLeft() |
Deprecated.
|
LatLng |
getMidpoint() |
Deprecated.
|
LatLng |
getUpperRight() |
Deprecated.
|
int |
hashCode() |
Deprecated.
|
Rectangle |
toRectangle() |
Deprecated.
Returns a rectangle shape for the bounding box
|
String |
toString() |
Deprecated.
|
public LLRect(LLRect other)
public double area()
public LatLng getLowerLeft()
public LatLng getUpperRight()
public LatLng getMidpoint()
public static LLRect createBox(LatLng center, double widthMi, double heightMi)
center
- widthMi
- heightMi
- public Rectangle toRectangle()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.