protected static class LocalElevationModel.LocalTile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
LocalTile(Sector sector,
double missingDataFlag,
int tileWidth,
int tileHeight,
BufferWrapper elevations,
java.lang.Double minEl,
java.lang.Double maxEl)
Constructs a new elevations tile.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
protected LocalTile(Sector sector, double missingDataFlag, int tileWidth, int tileHeight, BufferWrapper elevations, java.lang.Double minEl, java.lang.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.protected void computeMinMaxElevations()
protected boolean isMissingData(double value)
value
- the value to test.