Пример #1
0
        public static double GetSunEclipticLatitude(double julianDate)
        {
            var julianMillennias = Tools.GetMillenniasCount(julianDate);// (julianDate - 2451545) / 365250;

            var sunLatitudeBase       = GetCalculatedValue(PositionByOrbitalElementsArray.GetSunLatitudeBaseArray(), julianMillennias);
            var sunLatitudeFirstGroup = GetCalculatedValue(PositionByOrbitalElementsArray.GetSunLatitudeFirstArray(), julianMillennias);

            double value = (sunLatitudeBase + sunLatitudeFirstGroup * julianMillennias) / 100000000;

            return(CoordinateTransformation.MapToMinus90To90Range(CoordinateTransformation.SetRadiansToDegrees(value)));
        }