Class FieldEquinoctialLongitudeArgumentUtility

    • Method Detail

      • eccentricToTrue

        public static <T extends CalculusFieldElement<T>> T eccentricToTrue​(T ex,
                                                                            T ey,
                                                                            T lE)
        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 vector
        ey - e sin(ω), second component of eccentricity vector
        lE - = E + ω + Ω eccentric longitude argument (rad)
        Returns:
        the true longitude argument.
      • trueToEccentric

        public static <T extends CalculusFieldElement<T>> T trueToEccentric​(T ex,
                                                                            T ey,
                                                                            T lV)
        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 vector
        ey - e sin(ω), second component of eccentricity vector
        lV - = V + ω + Ω true longitude argument (rad)
        Returns:
        the eccentric longitude argument.
      • meanToEccentric

        public static <T extends CalculusFieldElement<T>> T meanToEccentric​(T ex,
                                                                            T ey,
                                                                            T lM)
        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 vector
        ey - e sin(ω), second component of eccentricity vector
        lM - = M + ω + Ω mean longitude argument (rad)
        Returns:
        the eccentric longitude argument.
      • eccentricToMean

        public static <T extends CalculusFieldElement<T>> T eccentricToMean​(T ex,
                                                                            T ey,
                                                                            T lE)
        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 vector
        ey - e sin(ω), second component of eccentricity vector
        lE - = E + ω + Ω mean longitude argument (rad)
        Returns:
        the mean longitude argument.
      • trueToMean

        public static <T extends CalculusFieldElement<T>> T trueToMean​(T ex,
                                                                       T ey,
                                                                       T lV)
        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 vector
        ey - e sin(ω), second component of eccentricity vector
        lV - = V + ω + Ω true longitude argument (rad)
        Returns:
        the mean longitude argument.
      • meanToTrue

        public static <T extends CalculusFieldElement<T>> T meanToTrue​(T ex,
                                                                       T ey,
                                                                       T lM)
        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 vector
        ey - e sin(ω), second component of eccentricity vector
        lM - = 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 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