mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-02-02 11:42:08 -05:00
1.6 KiB
1.6 KiB
//astronomy/io.github.cosinekitty.astronomy/Ecliptic
Ecliptic
data class Ecliptic(vec: Vector, elat: Double, elon: Double)
Ecliptic angular and Cartesian coordinates.
Coordinates of a celestial body as seen from the center of the Sun (heliocentric), oriented with respect to the plane of the Earth's orbit around the Sun (the ecliptic).
Constructors
| Ecliptic fun Ecliptic(vec: Vector, elat: Double, elon: Double) |
Properties
| Name | Summary |
|---|---|
| elat val elat: Double Latitude in degrees north (positive) or south (negative) of the ecliptic plane. |
|
| elon val elon: Double Longitude in degrees around the ecliptic plane prograde from the equinox. |
|
| vec val vec: Vector Cartesian ecliptic vector, with components as follows: x: the direction of the equinox along the ecliptic plane. y: in the ecliptic plane 90 degrees prograde from the equinox. z: perpendicular to the ecliptic plane. Positive is north. |