//astronomy/io.github.cosinekitty.astronomy/Vector/toObserver
fun toObserver(equator: EquatorEpoch): Observer
Calculates the geographic location corresponding to a geocentric equatorial vector.
This is the inverse function of Observer.toVector. Given an equatorial vector from the center of the Earth to an observer on or near the Earth's surface, this function returns the geographic latitude, longitude, and elevation for that observer.
The geographic coordinates corresponding to the vector.
equator | Selects the date of the Earth's equator in which this vector is expressed. The caller may select EquatorEpoch.J2000 to use the orientation of the Earth's equator at noon UTC on January 1, 2000, in which case this function corrects for precession and nutation of the Earth as it was at the moment specified by the time this.t. Or the caller may select EquatorEpoch.OfDate to use the Earth's equator at this.t as the orientation. |