public enum RouteHeightReference extends Enum<RouteHeightReference> implements Enumeration
Enum Constant and Description |
---|
MEAN_SEA_LEVEL
|
SURFACE_SHAPE
Height referenced to the
Ellipsoid reference surface of the
CentralBody . |
Modifier and Type | Method and Description |
---|---|
static RouteHeightReference |
getDefault()
Get the enum constant that is considered to be the default.
|
static RouteHeightReference |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static RouteHeightReference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteHeightReference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteHeightReference SURFACE_SHAPE
Ellipsoid
reference surface of the
CentralBody
.public static final RouteHeightReference MEAN_SEA_LEVEL
public static RouteHeightReference[] values()
for (RouteHeightReference c : RouteHeightReference.values()) System.out.println(c);
public static RouteHeightReference 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static RouteHeightReference getFromValue(int value)
value
- a numeric value.@Nonnull public static RouteHeightReference getDefault()