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 longcount()Get the count of tiles in the gridbooleanequals(Object obj)longgetHeight()Get the grid heightlonggetMaxX()Get the max xlonggetMaxY()Get the max ylonggetMinX()Get the min xlonggetMinY()Get the min ylonggetWidth()Get the grid widthinthashCode()voidsetMaxX(long maxX)Set the max xvoidsetMaxY(long maxY)Set the max yvoidsetMinX(long minX)Set the min xvoidsetMinY(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
-
-