Skip to content

Commit

Permalink
TypeScript definition for ecfToEci function is added
Browse files Browse the repository at this point in the history
  • Loading branch information
ezze committed Jul 18, 2022
1 parent 0cb49f7 commit 5afc72b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,7 @@
# Changelog

- TypeScript definition for `ecfToEci` function is added.

## 4.1.3 (2020-12-18)

- Fixed calculation of Doppler effect (`dopplerFactor`).
Expand Down
5 changes: 5 additions & 0 deletions types/index.d.ts
Expand Up @@ -173,6 +173,11 @@ declare module 'satellite.js' {
*/
export function eciToEcf<T>(positionEci: EciVec3<T>, gmst: GMSTime): EcfVec3<T>;

/**
* Convert ECF to ECI. Units are not modified.
*/
export function ecfToEci<T>(positionEcf: EcfVec3<T>, gmst: GMSTime): EciVec3<T>;

/**
* Convert geodetic location to ECF
*/
Expand Down

0 comments on commit 5afc72b

Please sign in to comment.