mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-20 13:30:28 -05:00
I found that there were a bunch of lingering 'jvm' tags in the generated markdown documentation. Got rid of them with another change to format_kotlin_doc.py.
793 B
793 B
//astronomy/io.github.cosinekitty.astronomy/geoMoon
geoMoon
fun geoMoon(time: Time): Vector
Calculates equatorial geocentric position of the Moon at a given time.
Given a time of observation, calculates the Moon's position vector. The vector indicates the Moon's center relative to the Earth's center. The vector components are expressed in AU (astronomical units). The coordinates are oriented with respect to the Earth's equator at the J2000 epoch. In Astronomy Engine, this orientation is called EQJ.
Return
The Moon's position vector in J2000 equatorial coordinates (EQJ).
Parameters
| time | The date and time for which to calculate the Moon's position. |