UNPKG

ootk-core

Version:

Orbital Object Toolkit. A modern typed replacement for satellite.js including SGP4 propagation, TLE parsing, Sun and Moon calculations, and more.

66 lines (65 loc) 2.96 kB
/** * @author Theodore Kruczek. * @license MIT * @copyright (c) 2022-2025 Theodore Kruczek Permission is * hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the * Software without restriction, including without limitation the rights to use, * copy, modify, merge, publish, distribute, sublicense, and/or sell copies of * the Software, and to permit persons to whom the Software is furnished to do * so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ import { ClassicalElements } from './ClassicalElements.js'; import { ITRF } from './ITRF.js'; import { StateVector } from './StateVector.js'; import { TEME } from './TEME.js'; /** * Represents a position and velocity in the J2000 coordinate system. This is an Earth-centered inertial (ECI) * coordinate system. * * Commonly used ECI frame is defined with the Earth's Mean Equator and Mean Equinox (MEME) at 12:00 Terrestrial Time on * 1 January 2000. It can be referred to as J2K, J2000 or EME2000. The x-axis is aligned with the mean vernal equinox. * The z-axis is aligned with the Earth's rotation axis (or equivalently, the celestial North Pole) as it was at that * time. The y-axis is rotated by 90° East about the celestial equator. * @see https://en.wikipedia.org/wiki/Earth-centered_inertial */ export declare class J2000 extends StateVector { /** * Creates a J2000 coordinate from classical elements. * @param elements The classical elements. * @returns The J2000 coordinate. */ static fromClassicalElements(elements: ClassicalElements): J2000; /** * Gets the name of the coordinate system. * @returns The name of the coordinate system. */ get name(): string; /** * Gets a value indicating whether the coordinate system is inertial. * @returns A boolean value indicating whether the coordinate system is inertial. */ get inertial(): boolean; /** * Converts the coordinates from J2000 to the International Terrestrial Reference Frame (ITRF). * This is an ECI to ECF transformation. * @returns The ITRF coordinates. */ toITRF(): ITRF; /** * Converts the J2000 coordinate to the TEME coordinate. * @returns The TEME coordinate. */ toTEME(): TEME; }