Skip to main content

ReferenceEllipsoid

Trait ReferenceEllipsoid 

Source
pub trait ReferenceEllipsoid: BodyFixed {
    // Required method
    fn reference_ellipsoid(&self) -> Ellipsoid;
}
Expand description

A body-fixed frame with a conventional reference ellipsoid.

The ellipsoid is the one conventionally paired with the frame rather than an intrinsic property of its origin: the terrestrial frames (Itrf, Tirf and Pef) are paired with GRS80, while Iau frames use their body’s own spheroid. Callers needing a different datum supply the ellipsoid explicitly.

Required Methods§

Source

fn reference_ellipsoid(&self) -> Ellipsoid

Returns the reference ellipsoid conventionally paired with this frame.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§