Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 2.35 KB

File metadata and controls

24 lines (16 loc) · 2.35 KB

//astronomy/io.github.cosinekitty.astronomy/ConstellationInfo

ConstellationInfo

class ConstellationInfo(symbol: String, name: String, ra1875: Double, dec1875: Double)

Reports the constellation that a given celestial point lies within.

The constellation function returns this object to report which constellation corresponds with a given point in the sky. Constellations are defined with respect to the B1875 equatorial system per IAU standard. Although constellation requires J2000 equatorial coordinates, ConstellationInfo contains converted B1875 coordinates for reference.

Constructors

ConstellationInfo
fun ConstellationInfo(symbol: String, name: String, ra1875: Double, dec1875: Double)

Properties

Name Summary
dec1875
val dec1875: Double
Declination expressed in B1875 coordinates.
name
val name: String
Full name of constellation, e.g. "Orion".
ra1875
val ra1875: Double
Right ascension expressed in B1875 coordinates.
symbol
val symbol: String
3-character mnemonic symbol for the constellation, e.g. "Ori".