//astronomy/io.github.cosinekitty.astronomy/constellation
fun constellation(ra: Double, dec: Double): ConstellationInfo
Determines the constellation that contains the given point in the sky.
Given J2000 equatorial (EQJ) coordinates of a point in the sky, determines the constellation that contains that point.
A structure that contains the 3-letter abbreviation and full name of the constellation that contains the given (ra,dec), along with the converted B1875 (ra,dec) for that point.
ra | The right ascension (RA) of a point in the sky, using the J2000 equatorial system (EQJ). |
dec | The declination (DEC) of a point in the sky, using the J2000 equatorial system (EQJ). |