//[astronomy](../../../index.md)/[io.github.cosinekitty.astronomy](../index.md)/[Equatorial](index.md) # Equatorial class [Equatorial](index.md)(ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dist: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), vec: [Vector](../-vector/index.md)) 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](-equatorial.md)
fun [Equatorial](-equatorial.md)(ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dist: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), vec: [Vector](../-vector/index.md)) | ## Properties | Name | Summary | |---|---| | [dec](dec.md)
val [dec](dec.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Declination in degrees. | | [dist](dist.md)
val [dist](dist.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Distance to the celestial body in AU. | | [ra](ra.md)
val [ra](ra.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Right ascension in sidereal hours. | | [vec](vec.md)
val [vec](vec.md): [Vector](../-vector/index.md)
Equatorial coordinates in cartesian vector form: x = March equinox, y = June solstice, z = north. |