Package com.luciad.network.function
Enum Class ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode
java.lang.Object
java.lang.Enum<ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode>
com.luciad.network.function.ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode
- All Implemented Interfaces:
Serializable
,Comparable<ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode>
,Constable
- Enclosing class:
ALcdCrossCountryHeightProviderDistanceFunction
public static enum ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode
extends Enum<ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode>
Describes the mode in which the distances should be computed.
- Since:
- 9.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionComputes a distance by taking samples at a fixed interval along the line from start to end.Computes a distance using only the height at the start and end point. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIXED_INTERVAL
Computes a distance by taking samples at a fixed interval along the line from start to end. The length of this interval is controlled byALcdCrossCountryHeightProviderDistanceFunction.getSampleInterval()
. -
SIMPLE
Computes a distance using only the height at the start and end point.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-