NASA World Wind

gov.nasa.worldwind.terrain
Class BasicElevationModel.ElevationTile

java.lang.Object
  extended by gov.nasa.worldwind.util.Tile
      extended by gov.nasa.worldwind.terrain.BasicElevationModel.ElevationTile
All Implemented Interfaces:
Cacheable, Comparable<Tile>
Enclosing class:
BasicElevationModel

protected static class BasicElevationModel.ElevationTile
extends Tile
implements Cacheable


Field Summary
protected  BufferWrapper elevations
           
protected  double[] extremes
           
protected  long updateTime
           
 
Constructor Summary
protected BasicElevationModel.ElevationTile(Sector sector, Level level, int row, int col)
           
 
Method Summary
 int computeElevationIndex(LatLon location)
           
 BufferWrapper getElevations()
           
 double[] getExtremes(Sector sector, BasicElevationModel em, double[] extremes)
           
 boolean isElevationsExpired()
           
 boolean isElevationsExpired(long expiryTime)
           
 void setElevations(BufferWrapper elevations, BasicElevationModel em)
           
 
Methods inherited from class gov.nasa.worldwind.util.Tile
compareTo, computeColumn, computeColumnLongitude, computeRow, computeRowLatitude, equals, getCacheName, getColumn, getFormatSuffix, getHeight, getLabel, getLevel, getLevelName, getLevelNumber, getPath, getPathBase, getPriority, getResourceURL, getResourceURL, getRow, getSector, getSizeInBytes, getTileKey, getWidth, hashCode, setPriority, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.nasa.worldwind.cache.Cacheable
getSizeInBytes
 

Field Detail

elevations

protected BufferWrapper elevations

extremes

protected double[] extremes

updateTime

protected long updateTime
Constructor Detail

BasicElevationModel.ElevationTile

protected BasicElevationModel.ElevationTile(Sector sector,
                                            Level level,
                                            int row,
                                            int col)
Method Detail

computeElevationIndex

public int computeElevationIndex(LatLon location)

getElevations

public BufferWrapper getElevations()

getExtremes

public double[] getExtremes(Sector sector,
                            BasicElevationModel em,
                            double[] extremes)

isElevationsExpired

public boolean isElevationsExpired()

isElevationsExpired

public boolean isElevationsExpired(long expiryTime)

setElevations

public void setElevations(BufferWrapper elevations,
                          BasicElevationModel em)

NASA World Wind