Companion

object Companion

Functions

Link copied to clipboard
fun getHourAngleLatAndDec(cal: LocalDateTime, lat: Double, lon: Double): Triple<Double, Double, Double>
Link copied to clipboard
fun getSolarAzimuth(cal: LocalDateTime, lat: Double, lon: Double): Double

Return the Solar Azimuth for the horizontal coordinate system at the given location at the given time. Not corrected for altitude. True south is 0 degrees.

Link copied to clipboard
fun getSolarElevation(cal: LocalDateTime, lat: Double, lon: Double): Double

Return the Solar Elevation for the horizontal coordinate system at the given location at the given time. Can be negative if the sun is below the horizon. Not corrected for altitude.