public class TileUtil extends Object
| Constructor and Description |
|---|
TileUtil()
|
| Modifier and Type | Method and Description |
|---|---|
static BBox |
getBoundingBox(double txStart, double txEnd, double tyStart, double tyEnd, int zoom)
Get the bounding box that is covered by the given tile coordinates.
|
static BBox |
getBoundingBox(Tile
Get the bounding box that the given tile covers.
|
static boolean |
isValid(Tile
Check if a tile is valid, i.e.
|
static <T extends Tile |
valid(Iterable
|
public static BBoxgetBoundingBox(Tile tile)
tile - the tile to compute a bounding box for.
public static BBoxgetBoundingBox(double txStart, double txEnd, double tyStart, double tyEnd, int zoom)
txStart - the start of the box in fractional tile-coordinates.
txEnd - the end of the box in fractional tile-coordinates.
tyStart - the start of the box in fractional tile-coordinates.
tyEnd - the end of the box in fractional tile-coordinates.
zoom - the zoom level the tile coordinates are to be resolved on
public static boolean isValid(Tiletile)
tile - the tile to check