//astronomy/io.github.cosinekitty.astronomy/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.
Name | Summary |
---|---|
position abstract fun position(time: Time): Vector Returns a relative position vector for a given time. |