Files
astronomy/source/kotlin/doc/geo-emb-state.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

765 B

//astronomy/io.github.cosinekitty.astronomy/geoEmbState

geoEmbState

fun geoEmbState(time: Time): StateVector

Calculates the geocentric position and velocity of the Earth/Moon barycenter.

Given a time of observation, calculates the geocentric position and velocity vectors of the Earth/Moon barycenter (EMB). The position (x, y, z) components are expressed in AU (astronomical units). The velocity (vx, vy, vz) components are expressed in AU/day.

Return

The EMB's position and velocity vectors in geocentric J2000 equatorial coordinates.

Parameters

time The date and time for which to calculate the EMB vectors.