Struct hipparchus::Intl1924

source ·
pub struct Intl1924 {}

Trait Implementations§

source§

impl Clone for Intl1924

source§

fn clone(&self) -> Intl1924

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Intl1924

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Model for Intl1924

source§

const NAME: &'static str = "International (1924)"

The datum name of the ellipsoid model
source§

const A: f64 = 6378388f64

The equatorial radius (semi-major axis)
source§

const F_INV: f64 = 297f64

flattening
source§

const F: f64 = _

The 1st flattening of the ellipsoid. Read more
source§

const M: f64 = _

The 2nd flattening
source§

const N: f64 = _

The 3rd flattening
source§

const B: f64 = _

The polar radius (semi-minor axis)
source§

const E1SQ: f64 = _

E => E1^2, square of the 1st eccentricity
source§

const E2SQ: f64 = _

E’ => E2^2, square of the 2nd eccentricity
source§

const E3SQ: f64 = _

E“ => E3^2, square of the 3rd eccentricity
source§

fn e1() -> f64

E1, the 1st eccentricity
source§

fn e2() -> f64

E2, the 2nd eccentricity
source§

fn e3() -> f64

E2, the 3rd eccentricity
source§

const P: f64 = _

E(L)^2 => A^2 - B^2, square of linear eccentricity
source§

fn linear_eccentricity() -> f64

E(L) = sqrt(a^2-b^2), linear eccentricity, also known as focal distance
source§

const Q: f64 = _

The radius ratio: Q = B / A
source§

fn angular_eccentricity() -> f64

E(A) = acos(b/a), angular eccentricity
source§

fn elps() -> Ellipsoid

source§

fn flattening(index: usize) -> f64

Flattening is a measure of the compression of a circle or sphere along a diameter to form an ellipse or an ellipsoid of revolution (spheroid) respectively. See also in https://en.wikipedia.org/wiki/Flattening
source§

fn eccentricity(index: usize) -> f64

source§

fn eccentricity_square(index: usize) -> f64

source§

fn radius(r: Radius) -> f64

source§

fn surface_area() -> f64

source§

fn volume() -> f64

source§

impl PartialEq for Intl1924

source§

fn eq(&self, other: &Intl1924) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Intl1924

source§

impl StructuralPartialEq for Intl1924

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.