//astronomy/io.github.cosinekitty.astronomy/rotationHorEqj
fun rotationHorEqj(time: Time, observer: Observer): RotationMatrix
Calculates a rotation matrix from horizontal (HOR) to J2000 equatorial (EQJ). This is one of the family of functions that returns a rotation matrix for converting from one orientation to another. Source: HOR = horizontal system (x=North, y=West, z=Zenith). Target: EQJ = equatorial system, using equator at the J2000 epoch.
A rotation matrix that converts HOR to EQJ at time and for observer.
time | The date and time of the observation. |
observer | A location near the Earth's mean sea level that defines the observer's horizon. |