Package com.luciad.format.raster
Class TLcdElevationUtil
java.lang.Object
com.luciad.format.raster.TLcdElevationUtil
This class contains static utility methods related to elevation rasters.
- Since:
- 6.2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isElevationModel
(ILcdModel aModel) Returns whether the given model contains terrain elevation data.static boolean
isMultilevelElevationModel
(ILcdModel aModel) Returns whether the given model contains multilevel terrain elevation data.static boolean
isSinglelevelElevationModel
(ILcdModel aModel) Returns whether the given model contains single level terrain elevation data.static boolean
isValidElevationValue
(int aRasterValue) Returns whether the given raster value is a valid elevation value.
-
Field Details
-
MINIMUM_ELEVATION
public static final int MINIMUM_ELEVATION- See Also:
-
MAXIMUM_ELEVATION
public static final int MAXIMUM_ELEVATION- See Also:
-
-
Constructor Details
-
TLcdElevationUtil
public TLcdElevationUtil()
-
-
Method Details
-
isValidElevationValue
public static boolean isValidElevationValue(int aRasterValue) Returns whether the given raster value is a valid elevation value.- Parameters:
aRasterValue
- the raster value to check.- Returns:
- true if the raster value is valid, false otherwise.
-
isElevationModel
Returns whether the given model contains terrain elevation data.- Parameters:
aModel
- the model to check.- Returns:
- true if the model contains terrain elevation data, false otherwise.
-
isSinglelevelElevationModel
Returns whether the given model contains single level terrain elevation data.- Parameters:
aModel
- the model to check.- Returns:
- true if the model contains terrain elevation data, false otherwise.
-
isMultilevelElevationModel
Returns whether the given model contains multilevel terrain elevation data.- Parameters:
aModel
- the model to check.- Returns:
- true if the model contains terrain elevation data, false otherwise.
-