visible property
Whether the Sun is above the horizon: its centre higher than sunHorizonAltitude (upper limb on the horizon with standard refraction).
Implementation
bool get visible => altitude > sunHorizonAltitude;
Whether the Sun is above the horizon: its centre higher than sunHorizonAltitude (upper limb on the horizon with standard refraction).
bool get visible => altitude > sunHorizonAltitude;