public enum DefaultProfileBehavior extends Enum<DefaultProfileBehavior> implements Enumeration
RoutePropagator
.
Options include the ability to follow the terrain at a constant height offset, fly above the terrain
at a minimum height, or ignore terrain and simply connect the heights between
RouteProcedures
with either a flat or inclined line segment.Enum Constant and Description |
---|
AVOID_TERRAIN
Indicates the connection will attempt to avoid terrain by a specified minimum height.
|
FOLLOW_TERRAIN
Indicates the connection has a constant height above the terrain.
|
STANDARD_CONNECTION
Indicates the connection will ignore any terrain definition and instead connect the heights
between
RouteProcedures
by either a flat or an inclined segment. |
Modifier and Type | Method and Description |
---|---|
static DefaultProfileBehavior |
getDefault()
Get the enum constant that is considered to be the default.
|
static DefaultProfileBehavior |
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 DefaultProfileBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultProfileBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultProfileBehavior FOLLOW_TERRAIN
TerrainProvider
and is useful when modeling ground vehicles or other objects moving along the ground.public static final DefaultProfileBehavior AVOID_TERRAIN
TerrainProvider
and is useful for modeling aircraft that are operating over mountainous terrain.public static final DefaultProfileBehavior STANDARD_CONNECTION
RouteProcedures
by either a flat or an inclined segment.public static DefaultProfileBehavior[] values()
for (DefaultProfileBehavior c : DefaultProfileBehavior.values()) System.out.println(c);
public static DefaultProfileBehavior 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 DefaultProfileBehavior getFromValue(int value)
value
- a numeric value.@Nonnull public static DefaultProfileBehavior getDefault()