Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.63 KB

File metadata and controls

24 lines (15 loc) · 1.63 KB

//astronomy/io.github.cosinekitty.astronomy/EclipseEvent

EclipseEvent

class EclipseEvent(time: Time, altitude: Double)

Holds a time and the observed altitude of the Sun at that time.

When reporting a solar eclipse observed at a specific location on the Earth (a "local" solar eclipse), a series of events occur. In addition to the time of each event, it is important to know the altitude of the Sun, because each event may be invisible to the observer if the Sun is below the horizon (i.e. it at night).

If altitude is negative, the event is theoretical only; it would be visible if the Earth were transparent, but the observer cannot actually see it. If altitude is positive but less than a few degrees, visibility will be impaired by atmospheric interference (sunrise or sunset conditions).

Constructors

EclipseEvent
fun EclipseEvent(time: Time, altitude: Double)

Properties

Name Summary
altitude
val altitude: Double
The angular altitude of the center of the Sun above/below the horizon, at time, corrected for atmospheric refraction and expressed in degrees.
time
val time: Time
The date and time of the event.