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 TypeMethodDescriptionbooleanstatic TLfnTileCoordinatesget3DInstance(int aLevel, long aColumn, long aRow, long aSheet) Returns aTLfnTileCoordinatesinstance with the specified 3D (X/Y/Z) tile coordinates.longReturns the column of this tile coordinates (the coordinate along the X axis).static TLfnTileCoordinatesgetInstance(int aLevel, long aRow, long aColumn) Returns aTLfnTileCoordinatesinstance with the specified 2D (Y/X) tile coordinates.intgetLevel()Returns the level of this tile coordinates.longgetRow()Returns the row of this tile coordinates (the coordinate along the Y axis)longgetSheet()Returns the sheet of the tile coordinates (the coordinate along the Z axis), or -1 if the tile coordinates are 2D.inthashCode()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 aTLfnTileCoordinatesinstance 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
TLfnTileCoordinatesinstance representing the specified tile coordinates.
-
get3DInstance
Returns aTLfnTileCoordinatesinstance 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
TLfnTileCoordinatesinstance representing the specified tile coordinates. - Since:
- 2018.0
-