|
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,
Angle origin)
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,
Angle origin)
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,
Angle origin)
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,
Angle origin)
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,
Angle origin)
delta - the grid intervallongitude - the longitude for which to compute the column indexorigin - the origin of the grid
IllegalArgumentException - if delta is null or non-positive, or longitude is
null, greater than positive 180 degrees, or less than negative 180 degrees
public static Angle computeColumnLongitude(int column,
Angle delta,
Angle origin)
column - the row index of the row in questiondelta - the grid intervalorigin - the origin of the grid
IllegalArgumentException - if the grid interval (delta) is null or zero or the column index is
negative.
public static int computeRow(Angle delta,
Angle latitude,
Angle origin)
delta - the grid intervallatitude - the latitude for which to compute the row indexorigin - the origin of the grid
IllegalArgumentException - if delta is null or non-positive, or latitude is null,
greater than positive 90 degrees, or less than negative 90 degrees
public static Angle computeRowLatitude(int row,
Angle delta,
Angle origin)
row - the row index of the row in questiondelta - the grid intervalorigin - the origin of the grid
IllegalArgumentException - if the grid interval (delta) is null or zero or the row index is
negative.public boolean equals(Object o)
equals in class Objectpublic 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
MalformedURLExceptionpublic final int getRow()
public final Sector getSector()
public long getSizeInBytes()
Cacheable
getSizeInBytes in interface CacheableCacheable object's size in bytespublic final TileKey getTileKey()
public int hashCode()
hashCode in class Objectpublic 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 | ||||||||