Package com.luciad.tea
Class TLcdFixedHeightAltitudeProvider
java.lang.Object
com.luciad.tea.TLcdFixedHeightAltitudeProvider
- All Implemented Interfaces:
ILcdAltitudeProvider
Returns a fixed altitude value for each point.
The following image gives a visual explanation of this altitude provider. The two green lines denotes the two different altitudes path that can result from this provider.
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdFixedHeightAltitudeProvider(double aFixedHeight, TLcdCoverageAltitudeMode aAltitudeMode) Creates a new fixed height altitude provider. -
Method Summary
Modifier and TypeMethodDescriptionReturns the descriptor which describes how to interpret the altitude values.Returns the altitude mode specified in the constructor of this instance.Returnsnull.doubleretrieveAltitudeAt(ILcdPoint aPoint, ILcdGeoReference aPointReference) Returns a fixed height, specified in the constructor of this instance, for the given point.
-
Constructor Details
-
TLcdFixedHeightAltitudeProvider
Creates a new fixed height altitude provider.- Parameters:
aFixedHeight- The fixed height for this altitude provider.aAltitudeMode- The altitude mode for this altitude provider.
-
-
Method Details
-
retrieveAltitudeAt
Returns a fixed height, specified in the constructor of this instance, for the given point.- Specified by:
retrieveAltitudeAtin interfaceILcdAltitudeProvider- Parameters:
aPoint- The point indicating the location for which to retrieve the altitude.aPointReference- The reference of the given point.- Returns:
- the fixed height specified in the constructor of this instance.
-
getPreferredReference
Returnsnull. This altitude provider does not have a preferred reference.- Specified by:
getPreferredReferencein interfaceILcdAltitudeProvider- Returns:
null.- See Also:
-
getAltitudeDescriptor
Description copied from interface:ILcdAltitudeProviderReturns the descriptor which describes how to interpret the altitude values.- Specified by:
getAltitudeDescriptorin interfaceILcdAltitudeProvider- Returns:
- the descriptor which describes how to interpret the altitude values.
-
getAltitudeMode
Returns the altitude mode specified in the constructor of this instance. This mode defines how the fixed altitude value is defined.- Specified by:
getAltitudeModein interfaceILcdAltitudeProvider- Returns:
- the altitude mode specified in the constructor of this instance.
-