Skip to main content

lox_frames/
lib.rs

1// SPDX-FileCopyrightText: 2024 Helge Eichhorn <git@helgeeichhorn.de>
2//
3// SPDX-License-Identifier: MPL-2.0
4
5#![warn(missing_docs)]
6
7//! Reference frames, rotations, and coordinate transformations.
8
9/// Reference frame types: the zero-sized marker types and the [`frames::Frame`]
10/// enum covering the same set at runtime.
11pub mod frames;
12/// IERS reference systems, conventions, and Earth orientation sub-models.
13pub mod iers;
14/// Default rotation provider (no EOP data).
15pub mod providers;
16/// Rotation matrices, the [`rotations::TryRotation`] trait, and [`rotations::RotationProvider`].
17pub mod rotations;
18/// Core reference frame traits.
19pub mod traits;
20
21pub use frames::{Cirf, Frame, Iau, Icrf, Itrf, J2000, Teme, Tirf, UnknownFrameError};
22pub use traits::{
23    BodyFixed, NonBodyFixedFrameError, NonQuasiInertialFrameError, QuasiInertial, ReferenceFrame,
24    TryBodyFixed, TryQuasiInertial,
25};