horizonZenith

open fun horizonZenith(date: LocalDate, geoLocation: GeoLocation, isSunrise: Boolean, adjustForElevation: Boolean): Double

The zenith of the apparent horizon of sunrise (isSunrise) or sunset on date: where the sun's center is when its upper limb touches the horizon. This is what adjustZenith adds to the geometric zenith, and what AstronomicalCalendar.getSunriseOffsetByDegreesBelowHorizon measures from. The default is the fixed 90° + solarRadius + refraction, plus the elevation adjustment if adjustForElevation; calculators with a finer model of the horizon override it.