public static double ApparentEclipticLongitude(double julianDate, bool highPrecision) { var longitude = ConvertLongitudeToFK5(julianDate, highPrecision) + CoordinateTransformation.SetDMSToDegrees(0, 0, Nutation.NutationInLongitude(julianDate)); var radius = Earth.GetSunRadiusVector(julianDate); return((highPrecision) ? longitude - (0.005775518 * radius * CoordinateTransformation.SetDMSToDegrees(0, 0, GetVariationEclipticLongitude(julianDate))) : longitude - CoordinateTransformation.SetDMSToDegrees(0, 0, 20.4898 / radius)); }
public static double GetEclipticLongitude(double julianDate, bool highPrecision) { double earth = Earth.GetSunEclipticLongitude(julianDate, highPrecision); return(CoordinateTransformation.MapTo0To360Range(earth + 180)); }
public static double GeometricEclipticLatitude(double julianDate) => - Earth.GetSunEclipticLatitude(julianDate);