public static void Main(string[] args)
    {
        double jd = CalendarUtil.toJulianDate(2014, 5, 5, 5, 5, 5);
        double t  = getJulianCentury(jd);
        double ln = getLongitudeNutation(jd);

        Console.WriteLine(jd);
        Console.WriteLine(t);
        Console.WriteLine(toDegrees(ln));
        Console.WriteLine(toDegrees(ln) * 3600);
    }
    public static void Main(string[] args)
    {
        double jd = CalendarUtil.toJulianDate(1987, 4, 10, 0, 0, 0.0);
        double t  = getJulianCentury(jd);
        double ln = getLongitudeNutation(jd);
        double on = getObliquityNutation(jd);

        Console.WriteLine(jd);
        Console.WriteLine(t);
        Console.WriteLine(toDegrees(ln));
        Console.WriteLine(toDegrees(ln) * 3600);
        Console.WriteLine(toDegrees(on));
        Console.WriteLine(toDegrees(on) * 3600);
    }
Пример #3
0
        public static void TestOtherFunction()
        {
            double jd = CalendarUtil.toJulianDate(1987, 4, 10, 0, 0, 0.0);
            double l  = getSunEclipticLongitudeForEarth(jd);
            double b  = getSunEclipticLatitudeForEarth(jd);
            double r  = getSunRadiusForEarth(jd);
            double dl = vsop2Fk5LongitudeCorrection(l, b, jd);
            double db = vsop2Fk5LatitudeCorrection(l, b, jd);

            Console.WriteLine(jd);
            Console.WriteLine(l);
            Console.WriteLine(b);
            Console.WriteLine(r);
            Console.WriteLine(dl);
            Console.WriteLine(db);

            Console.WriteLine(toDegrees(getEarthEclipticLongitudeForMoon(2448724.5)));
        }