Package org.orekit.orbits
Class FieldEquinoctialLongitudeArgumentUtility
java.lang.Object
org.orekit.orbits.FieldEquinoctialLongitudeArgumentUtility
Utility methods for converting between different longitude arguments used by
FieldEquinoctialOrbit.- Since:
- 12.1
- Author:
- Romain Serra
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends CalculusFieldElement<T>>
TconvertL(PositionAngleType oldType, T l, T ex, T ey, PositionAngleType newType) Convert argument of longitude.static <T extends CalculusFieldElement<T>>
TeccentricToMean(T ex, T ey, T lE) Computes the mean longitude argument from the eccentric longitude argument.static <T extends CalculusFieldElement<T>>
TeccentricToTrue(T ex, T ey, T lE) Computes the true longitude argument from the eccentric longitude argument.static <T extends CalculusFieldElement<T>>
TmeanToEccentric(T ex, T ey, T lM) Computes the eccentric longitude argument from the mean longitude argument.static <T extends CalculusFieldElement<T>>
TmeanToTrue(T ex, T ey, T lM) Computes the true longitude argument from the eccentric longitude argument.static <T extends CalculusFieldElement<T>>
TtrueToEccentric(T ex, T ey, T lV) Computes the eccentric longitude argument from the true longitude argument.static <T extends CalculusFieldElement<T>>
TtrueToMean(T ex, T ey, T lV) Computes the mean longitude argument from the eccentric longitude argument.
-
Method Details
-
eccentricToTrue
Computes the true longitude argument from the eccentric longitude argument.- Type Parameters:
T- Type of the field elements- Parameters:
ex- e cos(ω), first component of eccentricity vectorey- e sin(ω), second component of eccentricity vectorlE- = E + ω + Ω eccentric longitude argument (rad)- Returns:
- the true longitude argument.
-
trueToEccentric
Computes the eccentric longitude argument from the true longitude argument.- Type Parameters:
T- Type of the field elements- Parameters:
ex- e cos(ω), first component of eccentricity vectorey- e sin(ω), second component of eccentricity vectorlV- = V + ω + Ω true longitude argument (rad)- Returns:
- the eccentric longitude argument.
-
meanToEccentric
Computes the eccentric longitude argument from the mean longitude argument.- Type Parameters:
T- Type of the field elements- Parameters:
ex- e cos(ω), first component of eccentricity vectorey- e sin(ω), second component of eccentricity vectorlM- = M + ω + Ω mean longitude argument (rad)- Returns:
- the eccentric longitude argument.
-
eccentricToMean
Computes the mean longitude argument from the eccentric longitude argument.- Type Parameters:
T- Type of the field elements- Parameters:
ex- e cos(ω), first component of eccentricity vectorey- e sin(ω), second component of eccentricity vectorlE- = E + ω + Ω mean longitude argument (rad)- Returns:
- the mean longitude argument.
-
trueToMean
Computes the mean longitude argument from the eccentric longitude argument.- Type Parameters:
T- Type of the field elements- Parameters:
ex- e cos(ω), first component of eccentricity vectorey- e sin(ω), second component of eccentricity vectorlV- = V + ω + Ω true longitude argument (rad)- Returns:
- the mean longitude argument.
-
meanToTrue
Computes the true longitude argument from the eccentric longitude argument.- Type Parameters:
T- Type of the field elements- Parameters:
ex- e cos(ω), first component of eccentricity vectorey- e sin(ω), second component of eccentricity vectorlM- = M + ω + Ω mean longitude argument (rad)- Returns:
- the true longitude argument.
-
convertL
public static <T extends CalculusFieldElement<T>> T convertL(PositionAngleType oldType, T l, T ex, T ey, PositionAngleType newType) Convert argument of longitude.- Type Parameters:
T- field type- Parameters:
oldType- old position angle typel- old value for argument of longitudeex- exey- eynewType- new position angle type- Returns:
- converted argument of longitude
- Since:
- 12.2
-