astronomy

//astronomy/io.github.cosinekitty.astronomy/Equatorial

Equatorial

class Equatorial(ra: Double, dec: Double, dist: Double, vec: Vector)

Equatorial angular and cartesian coordinates.

Coordinates of a celestial body as seen from the Earth (geocentric or topocentric, depending on context), oriented with respect to the projection of the Earth’s equator onto the sky.

Constructors

   
Equatorial
fun Equatorial(ra: Double, dec: Double, dist: Double, vec: Vector)
 

Properties

Name Summary
dec
val dec: Double
Declination in degrees.
 
dist
val dist: Double
Distance to the celestial body in AU.
 
ra
val ra: Double
Right ascension in sidereal hours.
 
vec
val vec: Vector
Equatorial coordinates in cartesian vector form: x = March equinox, y = June solstice, z = north.