mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-07 23:18:02 -05:00
969 B
969 B
//astronomy/io.github.cosinekitty.astronomy/planetApsidesAfter
planetApsidesAfter
fun planetApsidesAfter(body: Body, startTime: Time): Sequence<ApsisInfo>
Enumerates a series of consecutive planetary perihelia/aphelia events.
This function enables iteration through an unlimited number of consecutive planetary apsides. This is a convenience wrapper around searchPlanetApsis and nextPlanetApsis.
Parameters
| body | The planet for which to find a series of perihelia/aphelia events. Not allowed to be Body.Sun or Body.Moon. |
| startTime | The date and time for starting the search for a series of apsides. |