Package org.esa.snap.core.dataop.dem
Class BaseElevationTile
- java.lang.Object
-
- org.esa.snap.core.dataop.dem.BaseElevationTile
-
- All Implemented Interfaces:
ElevationTile
public class BaseElevationTile extends Object implements ElevationTile
-
-
Field Summary
Fields Modifier and Type Field Description protected ElevationModel
demModel
protected float
noDataValue
protected Product
product
-
Constructor Summary
Constructors Constructor Description BaseElevationTile(ElevationModel demModel, Product product)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addGravitationalModel(int index, float[] line)
void
clearCache()
void
dispose()
float
getSample(int pixelX, int pixelY)
void
setHeight(int newHeight)
void
setWidth(int newWidth)
-
-
-
Field Detail
-
demModel
protected final ElevationModel demModel
-
product
protected Product product
-
noDataValue
protected final float noDataValue
-
-
Constructor Detail
-
BaseElevationTile
public BaseElevationTile(ElevationModel demModel, Product product)
-
-
Method Detail
-
setWidth
public void setWidth(int newWidth)
-
setHeight
public void setHeight(int newHeight)
-
clearCache
public final void clearCache()
- Specified by:
clearCache
in interfaceElevationTile
-
getSample
public final float getSample(int pixelX, int pixelY) throws Exception
- Specified by:
getSample
in interfaceElevationTile
- Throws:
Exception
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceElevationTile
-
-