public enum BallisticPropagatorSolutionType extends Enum<BallisticPropagatorSolutionType> implements Enumeration
BallisticPropagator
, IE whether the desired trajectory was
successfully calculated, the propagator failed to converge on a solution, or the specified constraint was invalid.Enum Constant and Description |
---|
CONVERGENCE_FAILED
The propagator was not able to converge on the specified constraint.
|
EXCESSIVE_DELTA_V
The specified delta-V too high for a valid trajectory.
|
INSUFFICIENT_DELTA_V
The specified delta-V insufficient for a valid trajectory.
|
INSUFFICIENT_FLIGHT_DURATION
The specified time of flight was insufficient for a valid trajectory.
|
SUCCESSFUL_CALCULATION
The propagator successfully calculated the trajectory.
|
Modifier and Type | Method and Description |
---|---|
static BallisticPropagatorSolutionType |
getDefault()
Get the enum constant that is considered to be the default.
|
static BallisticPropagatorSolutionType |
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 BallisticPropagatorSolutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BallisticPropagatorSolutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BallisticPropagatorSolutionType SUCCESSFUL_CALCULATION
public static final BallisticPropagatorSolutionType CONVERGENCE_FAILED
public static final BallisticPropagatorSolutionType INSUFFICIENT_DELTA_V
public static final BallisticPropagatorSolutionType EXCESSIVE_DELTA_V
public static final BallisticPropagatorSolutionType INSUFFICIENT_FLIGHT_DURATION
public static BallisticPropagatorSolutionType[] values()
for (BallisticPropagatorSolutionType c : BallisticPropagatorSolutionType.values()) System.out.println(c);
public static BallisticPropagatorSolutionType 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 BallisticPropagatorSolutionType getFromValue(int value)
value
- a numeric value.@Nonnull public static BallisticPropagatorSolutionType getDefault()