[−][src]Crate spa
Solar Position Algorithm module for Rust
Collection of algorithms calculating sunrise/sunset and azimuth/zenith-angle.
Structs
SolarPos | The solar position |
Enums
SpaError | The error conditions |
SunriseAndSet | The sun-rise and sun-set as UTC, otherwise permanent polar-night or polar-day |
Functions
calc_solar_position | Returning solar position (azimuth and zenith-angle) at time |
calc_sunrise_and_set | Returning Sunrise and Sunset (or PolarNight/PolarDay) at geo-pos |