Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.69 KB

index.md

File metadata and controls

23 lines (15 loc) · 1.69 KB

//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.