altitudeAt

fun altitudeAt(angularPosition: Double): Double

Obtains the altitude of a particular position of the sun above the horizon.

Parameters

angularPosition

Position (up and down) on the sun to calculate the altitude at. 1.0 would be the top edge of the sun. -1.0 would be the bottom edge of the sun. 0.0 would be the center of the sun.