|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.util.Tile
public class Tile
Constructor Summary | |
---|---|
Tile(Sector sector)
|
|
Tile(Sector sector,
Level level)
|
|
Tile(Sector sector,
Level level,
int row,
int column)
|
Method Summary | |
---|---|
int |
compareTo(Tile tile)
|
static int |
computeColumn(Angle delta,
Angle longitude)
Computes the column index of a longitude in the global tile grid corresponding to a specified grid interval. |
static Angle |
computeColumnLongitude(int column,
Angle delta)
Determines the minimum longitude of a column in the global tile grid corresponding to a specified grid interval. |
static int |
computeRow(Angle delta,
Angle latitude)
Computes the row index of a latitude in the global tile grid corresponding to a specified grid interval. |
static Angle |
computeRowLatitude(int row,
Angle delta)
Determines the minimum latitude of a row in the global tile grid corresponding to a specified grid interval. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getCacheName()
|
int |
getColumn()
|
java.lang.String |
getFormatSuffix()
|
java.lang.String |
getLabel()
|
Level |
getLevel()
|
java.lang.String |
getLevelName()
|
int |
getLevelNumber()
|
java.lang.String |
getPath()
|
java.lang.String |
getPathBase()
|
double |
getPriority()
|
java.net.URL |
getResourceURL()
|
java.net.URL |
getResourceURL(java.lang.String imageFormat)
|
int |
getRow()
|
Sector |
getSector()
|
long |
getSizeInBytes()
Retrieves the approximate size of this object in bytes. |
TileKey |
getTileKey()
|
int |
hashCode()
|
void |
setPriority(double priority)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Tile(Sector sector)
public Tile(Sector sector, Level level)
public Tile(Sector sector, Level level, int row, int column)
Method Detail |
---|
public int compareTo(Tile tile)
compareTo
in interface java.lang.Comparable<Tile>
public static int computeColumn(Angle delta, Angle longitude)
delta
- the grid intervallongitude
- the longitude for which to compute the column index
java.lang.IllegalArgumentException
- if delta
is null or non-positive, or longitude
is
null, greater than positive 180 degrees, or less than negative 180 degreespublic static Angle computeColumnLongitude(int column, Angle delta)
column
- the row index of the row in questiondelta
- the grid interval
java.lang.IllegalArgumentException
- if the grid interval (delta
) is null or zero or the column index is
negative.public static int computeRow(Angle delta, Angle latitude)
delta
- the grid intervallatitude
- the latitude for which to compute the row index
java.lang.IllegalArgumentException
- if delta
is null or non-positive, or latitude
is null,
greater than positive 90 degrees, or less than negative 90 degreespublic static Angle computeRowLatitude(int row, Angle delta)
row
- the row index of the row in questiondelta
- the grid interval
java.lang.IllegalArgumentException
- if the grid interval (delta
) is null or zero or the row index is
negative.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final java.lang.String getCacheName()
public final int getColumn()
public final java.lang.String getFormatSuffix()
public java.lang.String getLabel()
public Level getLevel()
public final java.lang.String getLevelName()
public final int getLevelNumber()
public java.lang.String getPath()
public java.lang.String getPathBase()
public double getPriority()
public java.net.URL getResourceURL() throws java.net.MalformedURLException
java.net.MalformedURLException
public java.net.URL getResourceURL(java.lang.String imageFormat) throws java.net.MalformedURLException
java.net.MalformedURLException
public final int getRow()
public final Sector getSector()
public long getSizeInBytes()
Cacheable
getSizeInBytes
in interface Cacheable
Cacheable
object's size in bytespublic final TileKey getTileKey()
public int hashCode()
hashCode
in class java.lang.Object
public void setPriority(double priority)
public java.lang.String toString()
toString
in class java.lang.Object
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |