Files
astronomy/source/kotlin/doc/geo-moon.md
Don Cross 4c34245c01 Kotlin doc cleanup: removed more 'jvm' tags.
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.
2022-04-25 17:16:46 -04:00

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.