public class TileBoundingBoxAndroidUtils
extends java.lang.Object
| Constructor and Description |
|---|
TileBoundingBoxAndroidUtils() |
| Modifier and Type | Method and Description |
|---|---|
static android.graphics.RectF |
getFloatRectangle(long width,
long height,
BoundingBox boundingBox,
BoundingBox boundingBoxSection)
Get a rectangle with floating point boundaries using the tile width,
height, bounding box, and the bounding box section within the outer box
to build the rectangle from
|
static double |
getLatitudeDistance(BoundingBox boundingBox)
Get the latitude distance in the middle longitude
|
static double |
getLatitudeDistance(double minLatitude,
double maxLatitude)
Get the latitude distance in the middle longitude
|
static double |
getLongitudeDistance(BoundingBox boundingBox)
Get the longitude distance in the middle latitude
|
static double |
getLongitudeDistance(double minLongitude,
double maxLongitude)
Get the longitude distance in the middle latitude
|
static android.graphics.Rect |
getRectangle(long width,
long height,
BoundingBox boundingBox,
BoundingBox boundingBoxSection)
Get a rectangle using the tile width, height, bounding box, and the
bounding box section within the outer box to build the rectangle from
|
public static android.graphics.Rect getRectangle(long width,
long height,
BoundingBox boundingBox,
BoundingBox boundingBoxSection)
width - height - boundingBox - boundingBoxSection - public static android.graphics.RectF getFloatRectangle(long width,
long height,
BoundingBox boundingBox,
BoundingBox boundingBoxSection)
width - height - boundingBox - boundingBoxSection - public static double getLongitudeDistance(BoundingBox boundingBox)
boundingBox - public static double getLongitudeDistance(double minLongitude,
double maxLongitude)
minLongitude - maxLongitude - public static double getLatitudeDistance(BoundingBox boundingBox)
boundingBox - public static double getLatitudeDistance(double minLatitude,
double maxLatitude)
minLatitude - maxLatitude -