public enum CircularCoordinate extends Enum<CircularCoordinate> implements OrbitalCoordinate
Enum Constant and Description |
---|
E_X
First component of circular eccentricity vector.
|
E_Y
Second component of circular eccentricity vector.
|
ECCENTRIC_LATITUDE_ARGUMENT
Eccentric latitude argument.
|
INCLINATION
Inclination.
|
MEAN_LATITUDE_ARGUMENT
Mean latitude argument.
|
RIGHT_ASCENSION_OF_ASCENDING_NODE
Right ascension of the ascending node.
|
SEMI_MAJOR_AXIS
Semi-major axis.
|
TRUE_LATITUDE_ARGUMENT
True latitude argument.
|
Modifier and Type | Method and Description |
---|---|
OrbitType |
getOrbitType()
Gets the orbit type to which this orbital coordinate is related.
|
int |
getStateVectorIndex()
Gets the index of the coordinate in the state vector array.
|
static CircularCoordinate |
valueOf(int stateVectorIndex,
PositionAngle positionAngle)
Gets the coordinate type associated with a given state vector index.
|
static CircularCoordinate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CircularCoordinate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkStateVectorIndex, convertTo
public static final CircularCoordinate SEMI_MAJOR_AXIS
public static final CircularCoordinate E_X
public static final CircularCoordinate E_Y
public static final CircularCoordinate INCLINATION
public static final CircularCoordinate RIGHT_ASCENSION_OF_ASCENDING_NODE
public static final CircularCoordinate TRUE_LATITUDE_ARGUMENT
public static final CircularCoordinate MEAN_LATITUDE_ARGUMENT
public static final CircularCoordinate ECCENTRIC_LATITUDE_ARGUMENT
public static CircularCoordinate[] values()
for (CircularCoordinate c : CircularCoordinate.values()) System.out.println(c);
public static CircularCoordinate 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 getStateVectorIndex()
getStateVectorIndex
in interface OrbitalCoordinate
public OrbitType getOrbitType()
getOrbitType
in interface OrbitalCoordinate
public static CircularCoordinate valueOf(int stateVectorIndex, PositionAngle positionAngle)
stateVectorIndex
- the state vector indexpositionAngle
- the position angle type (only used for the latitude argument)IllegalArgumentException
- if the provided state vector index is not between 0 and 5 (included)Copyright © 2023 CNES. All rights reserved.