public enum HeightConfigurationStatus extends Enum<HeightConfigurationStatus> implements Enumeration
Enum Constant and Description |
---|
BOTH_HEIGHTS_CHANGED
Both the previous and the next height was changed in order to configure the current profile successfully.
|
HEIGHTS_MATCH
The heights and height rates match.
|
NEXT_HEIGHT_CHANGED
The next height was changed in order to configure the current profile successfully.
|
NEXT_HEIGHT_RATES_DO_NOT_MATCH
Due to the geometry of the current route, the propagator was unable to connect the height rates of
two profiles.
|
NO_HEIGHT_CONNECTION_POSSIBLE
Due to the geometry of the current route profile, no configuration was possible without discontinuities.
|
OTHER_CONFIGURATION_ERROR
An error occurred while configuring a particular
RouteProfile . |
PREVIOUS_HEIGHT_CHANGED
The previous height was changed in order to configure the current profile successfully.
|
PREVIOUS_HEIGHT_RATES_DO_NOT_MATCH
Due to the geometry of the current route, the propagator was unable to connect the height rates of
two profiles.
|
VIOLATES_PROFILE_DYNAMICS
Due to the geometry of the current route profile, the configuration could not find a profile geometry
that satisfies the specified
ProfileDynamics while changing the height. |
Modifier and Type | Method and Description |
---|---|
static HeightConfigurationStatus |
getDefault()
Get the enum constant that is considered to be the default.
|
static HeightConfigurationStatus |
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 HeightConfigurationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeightConfigurationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeightConfigurationStatus HEIGHTS_MATCH
public static final HeightConfigurationStatus PREVIOUS_HEIGHT_CHANGED
public static final HeightConfigurationStatus NEXT_HEIGHT_CHANGED
public static final HeightConfigurationStatus BOTH_HEIGHTS_CHANGED
public static final HeightConfigurationStatus NO_HEIGHT_CONNECTION_POSSIBLE
public static final HeightConfigurationStatus PREVIOUS_HEIGHT_RATES_DO_NOT_MATCH
ConstantHeightProfiles
are used adjacent to each other with different HeightReferenceSurfaces
.
In this case, the "constant" heights do not connect smoothly due to the different height rates of the underlying
terrain.public static final HeightConfigurationStatus NEXT_HEIGHT_RATES_DO_NOT_MATCH
ConstantHeightProfiles
are used adjacent to each other with different HeightReferenceSurfaces
.
In this case, the "constant" heights do not connect smoothly due to the different height rates of the underlying
terrain.public static final HeightConfigurationStatus VIOLATES_PROFILE_DYNAMICS
ProfileDynamics
while changing the height.public static final HeightConfigurationStatus OTHER_CONFIGURATION_ERROR
RouteProfile
. Check the settings on the profile
to make sure that they are feasible and that they are compatible with the surrounding connection profile behavior. See the
Data
(get
) on the corresponding HeightConfigurationResult
for more information.public static HeightConfigurationStatus[] values()
for (HeightConfigurationStatus c : HeightConfigurationStatus.values()) System.out.println(c);
public static HeightConfigurationStatus 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 HeightConfigurationStatus getFromValue(int value)
value
- a numeric value.@Nonnull public static HeightConfigurationStatus getDefault()