mirror of
https://github.com/cosinekitty/astronomy.git
synced 2025-12-30 19:21:23 -05:00
815 B
815 B
//astronomy/io.github.cosinekitty.astronomy/PositionFunction
PositionFunction
fun interface PositionFunction
A function for which to solve a light-travel time problem.
The function correctLightTravel solves a generalized problem of deducing how far in the past light must have left a target object to be seen by an observer at a specified time. This interface expresses an arbitrary position vector as function of time that is passed to correctLightTravel.
Functions
| Name | Summary |
|---|---|
| position abstract fun position(time: Time): Vector Returns a relative position vector for a given time. |