mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-27 08:52:17 -05:00
Use consistent wording for these two orientation systems: EQJ = J2000 mean equator ECL = J2000 mean ecliptic
20 lines
717 B
Markdown
20 lines
717 B
Markdown
//[astronomy](../../index.md)/[io.github.cosinekitty.astronomy](index.md)/[rotationEclEqd](rotation-ecl-eqd.md)
|
|
|
|
# rotationEclEqd
|
|
|
|
fun [rotationEclEqd](rotation-ecl-eqd.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
|
|
|
|
Calculates a rotation matrix from J2000 mean ecliptic (ECL) to equatorial of-date (EQD).
|
|
|
|
This is one of the family of functions that returns a rotation matrix for converting from one orientation to another. Source: ECL = ecliptic system, using equator at J2000 epoch. Target: EQD = equatorial system, using equator of date.
|
|
|
|
#### Return
|
|
|
|
A rotation matrix that converts ECL to EQD.
|
|
|
|
## Parameters
|
|
|
|
| | |
|
|
|---|---|
|
|
| time | The date and time of the desired equator. |
|