public enum CartesianCoordinate extends Enum<CartesianCoordinate> implements OrbitalCoordinate
| Enum Constant and Description |
|---|
VX
First component of the velocity vector.
|
VY
Second component of the velocity vector.
|
VZ
Third component of the velocity vector.
|
X
First component of the position vector.
|
Y
Second component of the position vector.
|
Z
Third component of the position vector.
|
| 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 CartesianCoordinate |
valueOf(int stateVectorIndex)
Gets the coordinate type associated with a given state vector index.
|
static CartesianCoordinate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CartesianCoordinate[] |
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, valueOfcheckStateVectorIndex, convertTopublic static final CartesianCoordinate X
public static final CartesianCoordinate Y
public static final CartesianCoordinate Z
public static final CartesianCoordinate VX
public static final CartesianCoordinate VY
public static final CartesianCoordinate VZ
public static CartesianCoordinate[] values()
for (CartesianCoordinate c : CartesianCoordinate.values()) System.out.println(c);
public static CartesianCoordinate 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 OrbitalCoordinatepublic OrbitType getOrbitType()
getOrbitType in interface OrbitalCoordinatepublic static CartesianCoordinate valueOf(int stateVectorIndex)
stateVectorIndex - the state vector indexIllegalArgumentException - if the provided state vector index is not between 0 and 5 (included)Copyright © 2025 CNES. All rights reserved.