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.

76 lines (75 loc) 3.69 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 { Kilometers } from '../main.js'; import { Geodetic } from './Geodetic.js'; import { J2000 } from './J2000.js'; import { StateVector } from './StateVector.js'; /** * The International Terrestrial Reference Frame (ITRF) is a geocentric reference frame for the Earth. It is the * successor to the International Terrestrial Reference System (ITRS). The ITRF definition is maintained by the * International Earth Rotation and Reference Systems Service (IERS). Several versions of ITRF exist, each with a * different epoch, to address the issue of crustal motion. The latest version is ITRF2014, based on data collected from * 1980 to 2014. * @see https://en.wikipedia.org/wiki/International_Terrestrial_Reference_Frame * * This is a geocentric coordinate system, also referenced as ECF/ECEF (Earth Centered Earth Fixed). It is a Cartesian * coordinate system with the origin at the center of the Earth. The x-axis intersects the sphere of the Earth at 0° * latitude (the equator) and 0° longitude (the Prime Meridian). The z-axis goes through the North Pole. The y-axis goes * through 90° East longitude. * @see https://en.wikipedia.org/wiki/Earth-centered,_Earth-fixed_coordinate_system */ export declare class ITRF extends StateVector { /** * Gets the name of the ITRF 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; /** * Gets the height of the ITRF coordinate above the surface of the Earth in kilometers. * @returns The height in kilometers. */ get height(): Kilometers; /** * Gets the altitude in kilometers. * @returns The altitude in kilometers. */ get alt(): Kilometers; /** * Converts the current coordinate to the J2000 coordinate system. This is an Earth-Centered Inertial (ECI) coordinate * system with the origin at the center of the Earth. * @see https://en.wikipedia.org/wiki/Epoch_(astronomy)#Julian_years_and_J2000 * @returns The coordinate in the J2000 coordinate system. */ toJ2000(): J2000; /** * Converts the current ITRF coordinate to Geodetic coordinate. This is a coordinate system for latitude, longitude, * and altitude. * @returns The converted Geodetic coordinate. */ toGeodetic(): Geodetic; }