public enum KeplerianElement extends Enum<KeplerianElement> implements Enumeration
ModifiedKeplerianElements
, a KeplerianElements
, or
any of the other classical element types.Enum Constant and Description |
---|
ARGUMENT_OF_PERIAPSIS
Argument of periapsis.
|
ECCENTRICITY
Eccentricity.
|
INCLINATION
Inclination.
|
INVERSE_SEMIMAJOR_AXIS
Inverse of the semi-major axis.
|
MEAN_ANOMALY
Mean anomaly
|
PERIOD
The orbital period of the orbit in seconds.
|
RADIUS_OF_APOAPSIS
Radius of apoapsis.
|
RADIUS_OF_PERIAPSIS
Radius of periapsis.
|
RIGHT_ASCENSION_OF_ASCENDING_NODE
Right ascension of ascending node.
|
SEMIMAJOR_AXIS
Semi-major axis.
|
TRUE_ANOMALY
True anomaly.
|
Modifier and Type | Method and Description |
---|---|
static KeplerianElement |
getDefault()
Get the enum constant that is considered to be the default.
|
static KeplerianElement |
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 KeplerianElement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeplerianElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeplerianElement RADIUS_OF_PERIAPSIS
public static final KeplerianElement RADIUS_OF_APOAPSIS
public static final KeplerianElement INVERSE_SEMIMAJOR_AXIS
public static final KeplerianElement INCLINATION
public static final KeplerianElement ARGUMENT_OF_PERIAPSIS
public static final KeplerianElement RIGHT_ASCENSION_OF_ASCENDING_NODE
public static final KeplerianElement TRUE_ANOMALY
public static final KeplerianElement MEAN_ANOMALY
public static final KeplerianElement ECCENTRICITY
public static final KeplerianElement PERIOD
public static final KeplerianElement SEMIMAJOR_AXIS
public static KeplerianElement[] values()
for (KeplerianElement c : KeplerianElement.values()) System.out.println(c);
public static KeplerianElement 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 KeplerianElement getFromValue(int value)
value
- a numeric value.@Nonnull public static KeplerianElement getDefault()