Class EquinoctialLongitudeArgumentUtility

java.lang.Object
org.orekit.orbits.EquinoctialLongitudeArgumentUtility

public class EquinoctialLongitudeArgumentUtility extends Object
Utility methods for converting between different longitude arguments used by EquinoctialOrbit.
Since:
12.1
Author:
Romain Serra
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    convertL(PositionAngleType oldType, double l, double ex, double ey, PositionAngleType newType)
    Convert argument of longitude.
    static double
    eccentricToMean(double ex, double ey, double lE)
    Computes the mean longitude argument from the eccentric longitude argument.
    static double
    eccentricToTrue(double ex, double ey, double lE)
    Computes the true longitude argument from the eccentric longitude argument.
    static double
    meanToEccentric(double ex, double ey, double lM)
    Computes the eccentric longitude argument from the mean longitude argument.
    static double
    meanToTrue(double ex, double ey, double lM)
    Computes the true longitude argument from the eccentric longitude argument.
    static double
    trueToEccentric(double ex, double ey, double lV)
    Computes the eccentric longitude argument from the true longitude argument.
    static double
    trueToMean(double ex, double ey, double lV)
    Computes the mean longitude argument from the eccentric longitude argument.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • eccentricToTrue

      public static double eccentricToTrue(double ex, double ey, double lE)
      Computes the true longitude argument from the eccentric longitude argument.
      Parameters:
      ex - e cos(ω), first component of eccentricity vector
      ey - e sin(ω), second component of eccentricity vector
      lE - = E + ω + Ω eccentric longitude argument (rad)
      Returns:
      the true longitude argument.
    • trueToEccentric

      public static double trueToEccentric(double ex, double ey, double lV)
      Computes the eccentric longitude argument from the true longitude argument.
      Parameters:
      ex - e cos(ω), first component of eccentricity vector
      ey - e sin(ω), second component of eccentricity vector
      lV - = V + ω + Ω true longitude argument (rad)
      Returns:
      the eccentric longitude argument.
    • meanToEccentric

      public static double meanToEccentric(double ex, double ey, double lM)
      Computes the eccentric longitude argument from the mean longitude argument.
      Parameters:
      ex - e cos(ω), first component of eccentricity vector
      ey - e sin(ω), second component of eccentricity vector
      lM - = M + ω + Ω mean longitude argument (rad)
      Returns:
      the eccentric longitude argument.
    • eccentricToMean

      public static double eccentricToMean(double ex, double ey, double lE)
      Computes the mean longitude argument from the eccentric longitude argument.
      Parameters:
      ex - e cos(ω), first component of eccentricity vector
      ey - e sin(ω), second component of eccentricity vector
      lE - = E + ω + Ω mean longitude argument (rad)
      Returns:
      the mean longitude argument.
    • trueToMean

      public static double trueToMean(double ex, double ey, double lV)
      Computes the mean longitude argument from the eccentric longitude argument.
      Parameters:
      ex - e cos(ω), first component of eccentricity vector
      ey - e sin(ω), second component of eccentricity vector
      lV - = V + ω + Ω true longitude argument (rad)
      Returns:
      the mean longitude argument.
    • meanToTrue

      public static double meanToTrue(double ex, double ey, double lM)
      Computes the true longitude argument from the eccentric longitude argument.
      Parameters:
      ex - e cos(ω), first component of eccentricity vector
      ey - e sin(ω), second component of eccentricity vector
      lM - = M + ω + Ω mean longitude argument (rad)
      Returns:
      the true longitude argument.
    • convertL

      public static double convertL(PositionAngleType oldType, double l, double ex, double ey, PositionAngleType newType)
      Convert argument of longitude.
      Parameters:
      oldType - old position angle type
      l - old value for argument of longitude
      ex - ex
      ey - ey
      newType - new position angle type
      Returns:
      converted argument of longitude
      Since:
      12.2