SolarPosition

data class SolarPosition(val azimuth: Double, val altitude: Double)

Sun's position in the sky relative to the observer.

Calculated using solar noon, declination, and equation of time algorithms from commons-suncalc library.

Constructors

Link copied to clipboard
constructor(azimuth: Double, altitude: Double)

Properties

Link copied to clipboard

Sun's angle above horizon in degrees (-90 to +90), positive = above horizon

Link copied to clipboard

Compass bearing to the sun in degrees (0-360), where 0° = North