astronomy

//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.