public void GetDeclinationTest()
        {
            var eclipticLatitude  = 1.208;
            var eclipticLongitude = 168.737;
            var angle             = LocationHelper.GetAngle();
            var actual            = LocationHelper.GetDeclination(eclipticLatitude, eclipticLongitude, angle);
            var expected          = 5.567;

            Assert.True(actual.EqualsWithinTolerance(expected, 3));
        }
        public void SetEarthPosition(LocationModel location, double earthCentricDistance)
        {
            var locationdelta = Location.GetLocationDelta(location);

            LargeDelta = locationdelta.GetLargeDelta();

            RatioSunEarthDistance = CentricDistance / LargeDelta;
            RatioEarthAuDistance  = LargeDelta / earthCentricDistance;

            EclipticLongitude = locationdelta.GetEclipticLongitude();
            EclipticLatitude  = locationdelta.GetEclipticLatitude(LargeDelta);
            Declination       = LocationHelper.GetDeclination(EclipticLatitude, EclipticLongitude, LocationHelper.GetAngle());
            RightAscension    = LocationHelper.GetRightAscension(EclipticLatitude, EclipticLongitude, LocationHelper.GetAngle());
        }