Package gaiasky.util.coord.moon
Class MoonMeeusCoordinates
java.lang.Object
gaiasky.util.coord.moon.MoonMeeusCoordinates
Computation of Moon coordinates as written in "Astronomical Algorithms 2d Edition" by Jean Meeus (1998, ISBN 9780943396354).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Vector3d
moonEclipticCoordinates
(double julianDate, Vector3d out) Algorithm in "Astronomical Algorithms" book by Jean Meeus.
-
Constructor Details
-
MoonMeeusCoordinates
public MoonMeeusCoordinates()
-
-
Method Details
-
moonEclipticCoordinates
Algorithm in "Astronomical Algorithms" book by Jean Meeus. Returns a vector with the geocentric ecliptic longitude (λ) in radians, the ecliptic latitude (β) in radians and the distance between the centers of the Earth and the Moon in kilometers.- Parameters:
julianDate
- The julian days since J2000.out
- The output vector with geocentric longitude (lambda) [rad], geocentric latitude (beta) [rad], distance between the centers of the Earth and the Moon [km].- Returns:
- The out vector with geocentric [lambda, beta, r] in radians and kilometres.
-