Package com.luciad.tea.hypsometry
Class TLcdHypsometricRasterFactory
java.lang.Object
com.luciad.tea.hypsometry.TLcdHypsometricRasterFactory
- All Implemented Interfaces:
ILcdHypsometricRasterFactory
This ILcdHypsometricRasterFactory creates hypsometric rasters based on the
given hypsometric value provider.
-
Constructor Summary
ConstructorDescriptionTLcdHypsometricRasterFactory
(ILcdHypsometricTileFactory aHypsometricTileFactory, int aUnknownValue) Creates a new TLcdHypsometricRasterFactory. -
Method Summary
Modifier and TypeMethodDescriptioncreateHypsometricRaster
(ILcdRaster aRaster, double aElevationScale) Creates a hypsometric version of the given raster.Returns the hypsometric tile factory that creates the individual hypsometric tiles.
-
Constructor Details
-
TLcdHypsometricRasterFactory
public TLcdHypsometricRasterFactory(ILcdHypsometricTileFactory aHypsometricTileFactory, int aUnknownValue) Creates a new TLcdHypsometricRasterFactory.- Parameters:
aHypsometricTileFactory
- the hypsometric tile factory for creating the individual hypsometric tiles.aUnknownValue
- the raster value that corresponds to the unknown hypsometric value (NaN).
-
-
Method Details
-
getHypsometricTileFactory
Returns the hypsometric tile factory that creates the individual hypsometric tiles.- Returns:
- the hypsometric tile factory.
-
createHypsometricRaster
Description copied from interface:ILcdHypsometricRasterFactory
Creates a hypsometric version of the given raster.- Specified by:
createHypsometricRaster
in interfaceILcdHypsometricRasterFactory
- Parameters:
aRaster
- the elevation raster.aElevationScale
- the scale factor to go from the raster's elevation values to ordinates in raster coordinates.- Returns:
- the hypsometric raster.
-