//astronomy/io.github.cosinekitty.astronomy/TransitInfo
class TransitInfo(start: Time, peak: Time, finish: Time, separation: Double)
Information about a transit of Mercury or Venus, as seen from the Earth.
Returned by searchTransit or nextTransit to report information about a transit of Mercury or Venus. A transit is when Mercury or Venus passes between the Sun and Earth so that the other planet is seen in silhouette against the Sun.
The start field reports the moment in time when the planet first becomes visible against the Sun in its background. The peak field reports when the planet is most aligned with the Sun, as seen from the Earth. The finish field reports the last moment when the planet is visible against the Sun in its background.
The calculations are performed from the point of view of a geocentric observer.
TransitInfo fun TransitInfo(start: Time, peak: Time, finish: Time, separation: Double) |
Name | Summary |
---|---|
finish val finish: Time Date and time at the end of the transit. |
|
peak val peak: Time Date and time of the peak of the transit. |
|
separation val separation: Double Angular separation in arcminutes between the centers of the Sun and the planet at time peak. |
|
start val start: Time Date and time at the beginning of the transit. |