public interface OrbitalCoordinate
Modifier and Type | Method and Description |
---|---|
static void |
checkStateVectorIndex(int stateVectorIndex)
Static method to check if the state vector index is valid (between 0 and 5 (included)).
|
default OrbitalCoordinate |
convertTo(OrbitType orbitType,
PositionAngle positionAngle)
Gets the coordinate type associated with the same state vector index in a given orbit type
and position angle type.
|
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.
|
OrbitType getOrbitType()
int getStateVectorIndex()
default OrbitalCoordinate convertTo(OrbitType orbitType, PositionAngle positionAngle)
orbitType
- the target orbit typepositionAngle
- the target position angle typestatic void checkStateVectorIndex(int stateVectorIndex)
stateVectorIndex
- the state vector indexIllegalArgumentException
- if the provided state vector index is not between 0 and 5 (included)Copyright © 2023 CNES. All rights reserved.