//astronomy/io.github.cosinekitty.astronomy/transitsAfter
fun transitsAfter(body: Body, startTime: Time): Sequence<TransitInfo>
Enumerates a series of consecutive transits of Mercury or Venus.
This function enables iteration through a series of consecutive transits of Mercury or Venus that occur after a specified time.
This is a convenience wrapper around searchTransit and nextTransit.
body | The planet for which to enumerate transits. Must be Body.Mercury or Body.Venus. |
startTime | The date and time for starting the search for a series of transits. |