Package com.luciad.fusion.core
Class TLfnTileCoordinates
java.lang.Object
com.luciad.fusion.core.TLfnTileCoordinates
Representation of the location (coordinates) of a tile in a coverage.
Tile coordinates are uniquely identified by their level, row, column, and (optionally) sheet.
- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static TLfnTileCoordinates
get3DInstance
(int aLevel, long aColumn, long aRow, long aSheet) Returns aTLfnTileCoordinates
instance with the specified 3D (X/Y/Z) tile coordinates.long
Returns the column of this tile coordinates (the coordinate along the X axis).static TLfnTileCoordinates
getInstance
(int aLevel, long aRow, long aColumn) Returns aTLfnTileCoordinates
instance with the specified 2D (Y/X) tile coordinates.int
getLevel()
Returns the level of this tile coordinates.long
getRow()
Returns the row of this tile coordinates (the coordinate along the Y axis)long
getSheet()
Returns the sheet of the tile coordinates (the coordinate along the Z axis), or -1 if the tile coordinates are 2D.int
hashCode()
toString()
-
Method Details
-
getLevel
public int getLevel()Returns the level of this tile coordinates.- Returns:
- the level of this tile coordinates.
-
getRow
public long getRow()Returns the row of this tile coordinates (the coordinate along the Y axis)- Returns:
- the row of this tile coordinates.
-
getColumn
public long getColumn()Returns the column of this tile coordinates (the coordinate along the X axis).- Returns:
- the column of this tile coordinates.
-
getSheet
public long getSheet()Returns the sheet of the tile coordinates (the coordinate along the Z axis), or -1 if the tile coordinates are 2D.- Returns:
- the sheet of the tile coordinates
- Since:
- 2018.0
-
equals
-
hashCode
public int hashCode() -
toString
-
getInstance
Returns aTLfnTileCoordinates
instance with the specified 2D (Y/X) tile coordinates.
This method uses row and column (Y/X) argument order.- Parameters:
aLevel
- the level of the tileaRow
- the row of the tile (Y axis)aColumn
- the column of the tile (X axis)- Returns:
- a
TLfnTileCoordinates
instance representing the specified tile coordinates.
-
get3DInstance
Returns aTLfnTileCoordinates
instance with the specified 3D (X/Y/Z) tile coordinates.
As opposed togetInstance(int, long, long)
, this method uses column/row (X/Y) argument order.- Parameters:
aLevel
- the level of the tileaColumn
- the column of the tile (X axis)aRow
- the row of the tile (Y axis)aSheet
- the sheet of the tile (Z axis- Returns:
- a
TLfnTileCoordinates
instance representing the specified tile coordinates. - Since:
- 2018.0
-