public static enum ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode extends Enum<ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode>
Enum Constant and Description |
---|
FIXED_INTERVAL
Computes a distance by taking samples at a fixed interval along the line from start to end.
|
SIMPLE
Computes a distance using only the height at the start and end point.
|
Modifier and Type | Method and Description |
---|---|
static ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode FIXED_INTERVAL
ALcdCrossCountryHeightProviderDistanceFunction.getSampleInterval()
.public static final ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode SIMPLE
public static ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode[] values()
for (ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode c : ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode.values()) System.out.println(c);
public static ALcdCrossCountryHeightProviderDistanceFunction.ComputationMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null