visible property

bool get visible

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;