|
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(Object o)
|
String |
getCacheName()
|
int |
getColumn()
|
String |
getFormatSuffix()
|
String |
getLabel()
|
Level |
getLevel()
|
String |
getLevelName()
|
int |
getLevelNumber()
|
String |
getPath()
|
String |
getPathBase()
|
double |
getPriority()
|
URL |
getResourceURL()
|
URL |
getResourceURL(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)
|
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 Comparable<Tile>
public static int computeColumn(Angle delta, Angle longitude)
delta
- the grid intervallongitude
- the longitude for which to compute the column index
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
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
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
IllegalArgumentException
- if the grid interval (delta
) is null or zero or the row index is
negative.public boolean equals(Object o)
equals
in class Object
public final String getCacheName()
public final int getColumn()
public final String getFormatSuffix()
public String getLabel()
public Level getLevel()
public final String getLevelName()
public final int getLevelNumber()
public String getPath()
public String getPathBase()
public double getPriority()
public URL getResourceURL() throws MalformedURLException
MalformedURLException
public URL getResourceURL(String imageFormat) throws MalformedURLException
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 Object
public void setPriority(double priority)
public String toString()
toString
in class Object
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |