Files
astronomy/source/kotlin/doc/rotation-eqd-ect.md
Don Cross 667dcf5c9c Fixed #285 - added missing time parameter to docs.
The documentation was missing a mention of
the `time` parameter in the following TypeScript
functions:

* `Rotation_ECT_EQD`
* `Rotation_EQD_ECT`

Likewise, the `time` parameter was not documented in
the corresponding Kotlin functions:

* `rotationEctEqd`
* `rotationEqdEct`

These mistakes have been corrected.
2023-01-28 12:33:12 -05:00

20 lines
677 B
Markdown

//[astronomy](../../index.md)/[io.github.cosinekitty.astronomy](index.md)/[rotationEqdEct](rotation-eqd-ect.md)
# rotationEqdEct
fun [rotationEqdEct](rotation-eqd-ect.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from equator of date (EQD) to true ecliptic of date (ECT).
This is one of the family of functions that returns a rotation matrix for converting from one orientation to another. Source: EQD = equator of date Target: ECT = true ecliptic of date
#### Return
A rotation matrix that converts EQD to ECT.
## Parameters
| | |
|---|---|
| time | The date and time of the equator/ecliptic conversion. |