Class TLfnTileCoordinates

java.lang.Object
com.luciad.fusion.core.TLfnTileCoordinates

public final class TLfnTileCoordinates extends Object
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 Type
    Method
    Description
    boolean
    equals(Object aObject)
     
    get3DInstance(int aLevel, long aColumn, long aRow, long aSheet)
    Returns a TLfnTileCoordinates instance with the specified 3D (X/Y/Z) tile coordinates.
    long
    Returns the column of this tile coordinates (the coordinate along the X axis).
    getInstance(int aLevel, long aRow, long aColumn)
    Returns a TLfnTileCoordinates instance with the specified 2D (Y/X) tile coordinates.
    int
    Returns the level of this tile coordinates.
    long
    Returns the row of this tile coordinates (the coordinate along the Y axis)
    long
    Returns the sheet of the tile coordinates (the coordinate along the Z axis), or -1 if the tile coordinates are 2D.
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

      public boolean equals(Object aObject)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getInstance

      public static TLfnTileCoordinates getInstance(int aLevel, long aRow, long aColumn)
      Returns a TLfnTileCoordinates 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 tile
      aRow - 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

      public static TLfnTileCoordinates get3DInstance(int aLevel, long aColumn, long aRow, long aSheet)
      Returns a TLfnTileCoordinates instance with the specified 3D (X/Y/Z) tile coordinates.
      As opposed to getInstance(int, long, long), this method uses column/row (X/Y) argument order.
      Parameters:
      aLevel - the level of the tile
      aColumn - 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