public final class TLfnTileCoordinates
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object aObject) |
static TLfnTileCoordinates |
get3DInstance(int aLevel,
long aColumn,
long aRow,
long aSheet)
Returns a
TLfnTileCoordinates instance with the specified 3D (X/Y/Z) tile coordinates. |
long |
getColumn()
Returns the column of this tile coordinates (the coordinate along the X axis).
|
static TLfnTileCoordinates |
getInstance(int aLevel,
long aRow,
long aColumn)
Returns a
TLfnTileCoordinates 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() |
java.lang.String |
toString() |
public int getLevel()
public long getRow()
public long getColumn()
public long getSheet()
public boolean equals(java.lang.Object aObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static TLfnTileCoordinates getInstance(int aLevel, long aRow, long aColumn)
TLfnTileCoordinates
instance with the specified 2D (Y/X) tile coordinates.
aLevel
- the level of the tileaRow
- the row of the tile (Y axis)aColumn
- the column of the tile (X axis)TLfnTileCoordinates
instance representing the specified tile coordinates.public static TLfnTileCoordinates get3DInstance(int aLevel, long aColumn, long aRow, long aSheet)
TLfnTileCoordinates
instance with the specified 3D (X/Y/Z) tile coordinates.
getInstance(int, long, long)
, this method uses column/row (X/Y) argument order.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 axisTLfnTileCoordinates
instance representing the specified tile coordinates.