|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.terrain.LocalElevationModel.LocalTile
protected static class LocalElevationModel.LocalTile
An internal class that represents one elevation raster in the elevation model.
Field Summary | |
---|---|
protected BufferWrapper |
elevations
The elevations. |
protected double |
maxElevation
The maximum elevation contained in this tile's raster. |
protected double |
minElevation
The minimum elevation contained in this tile's raster. |
protected double |
missingDataFlag
The elevation model's missing data flag. |
protected Sector |
sector
The sector the tile covers. |
protected int |
tileHeight
The number of rows in the raster. |
protected int |
tileWidth
The number of elevation values in a row of the raster. |
Constructor Summary | |
---|---|
protected |
LocalElevationModel.LocalTile(Sector sector,
double missingDataFlag,
int tileWidth,
int tileHeight,
BufferWrapper elevations,
Double minEl,
Double maxEl)
Constructs a new elevations tile. |
Method Summary | |
---|---|
protected void |
computeMinMaxElevations()
Determines the minimum and maximum elevations of this tile. |
protected boolean |
isMissingData(double value)
Determines whether a value signifies missing data -- voids. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final BufferWrapper elevations
protected double maxElevation
protected double minElevation
protected final double missingDataFlag
protected final Sector sector
protected final int tileHeight
protected final int tileWidth
Constructor Detail |
---|
protected LocalElevationModel.LocalTile(Sector sector, double missingDataFlag, int tileWidth, int tileHeight, BufferWrapper elevations, Double minEl, Double maxEl)
sector
- the sector the tile covers.missingDataFlag
- the elevation model's missing data flag.tileWidth
- the number of elevation values in a row of this tile's elevation raster.tileHeight
- the number of rows in this tile's elevation raster.elevations
- the elevations.minEl
- the minimum elevation of this tile. May be null, in which case the minimum is
determined.maxEl
- the maximum elevation of this tile. May be null, in which case the maximum is
determined.Method Detail |
---|
protected void computeMinMaxElevations()
protected boolean isMissingData(double value)
value
- the value to test.
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |