Package mil.nga.geopackage.tiles
Class TileGrid
- java.lang.Object
-
- mil.nga.geopackage.tiles.TileGrid
-
public class TileGrid extends Object
Tile grid with x and y ranges- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description TileGrid(long minX, long minY, long maxX, long maxY)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
count()
Get the count of tiles in the gridboolean
equals(Object obj)
long
getHeight()
Get the grid heightlong
getMaxX()
Get the max xlong
getMaxY()
Get the max ylong
getMinX()
Get the min xlong
getMinY()
Get the min ylong
getWidth()
Get the grid widthint
hashCode()
void
setMaxX(long maxX)
Set the max xvoid
setMaxY(long maxY)
Set the max yvoid
setMinX(long minX)
Set the min xvoid
setMinY(long minY)
Set the min y
-
-
-
Method Detail
-
getMinX
public long getMinX()
Get the min x- Returns:
- min x
-
setMinX
public void setMinX(long minX)
Set the min x- Parameters:
minX
- min x
-
getMaxX
public long getMaxX()
Get the max x- Returns:
- max x
-
setMaxX
public void setMaxX(long maxX)
Set the max x- Parameters:
maxX
- max x
-
getMinY
public long getMinY()
Get the min y- Returns:
- min y
-
setMinY
public void setMinY(long minY)
Set the min y- Parameters:
minY
- min y
-
getMaxY
public long getMaxY()
Get the max y- Returns:
- max y
-
setMaxY
public void setMaxY(long maxY)
Set the max y- Parameters:
maxY
- max y
-
count
public long count()
Get the count of tiles in the grid- Returns:
- count
-
getWidth
public long getWidth()
Get the grid width- Returns:
- width
- Since:
- 5.0.0
-
getHeight
public long getHeight()
Get the grid height- Returns:
- height
- Since:
- 5.0.0
-
-