Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 969 Bytes

index.md

File metadata and controls

21 lines (13 loc) · 969 Bytes

//astronomy/io.github.cosinekitty.astronomy/Direction

Direction

enum Direction : Enum<Direction>

Selects whether to search for a rising event or a setting event for a celestial body.

Entries

Rise
Indicates a rising event: a celestial body is observed to rise above the horizon by an observer on the Earth.
Set
Indicates a setting event: a celestial body is observed to sink below the horizon by an observer on the Earth.

Properties

Name Summary
sign
val sign: Int
A numeric value that is helpful in formulas involving rise/set. The sign is +1 for a rising event, or -1 for a setting event.