pub struct Ellipsoid { /* private fields */ }
Expand description
Ellipsoid calculation values with radius calculation methods.
Implementations§
Source§impl Ellipsoid
impl Ellipsoid
Sourcepub const fn semi_major_axis_a(&self) -> Length
pub const fn semi_major_axis_a(&self) -> Length
Returns the Semi-Major axis of the Ellipsoid (a)
Sourcepub const fn semi_minor_axis_b(&self) -> Length
pub const fn semi_minor_axis_b(&self) -> Length
Returns the Semi-Minor axis of the Ellipsoid (b)
Sourcepub const fn inverse_flattening(&self) -> f64
pub const fn inverse_flattening(&self) -> f64
Returns the inverse flattening (1 / f)
Sourcepub const fn first_eccentricity(&self) -> f64
pub const fn first_eccentricity(&self) -> f64
Returns e - the first eccentricity
Sourcepub const fn first_eccentricity_squared(&self) -> f64
pub const fn first_eccentricity_squared(&self) -> f64
Returns e^2 - the first eccentricity squared
Sourcepub const fn second_eccentricity(&self) -> f64
pub const fn second_eccentricity(&self) -> f64
Returns e’ - the second eccentricity (e prime)
Sourcepub const fn second_eccentricity_sq(&self) -> f64
pub const fn second_eccentricity_sq(&self) -> f64
Returns e’^2 - the second eccentricity (e prime) squared
Sourcepub fn flattening_f(&self) -> f64
pub fn flattening_f(&self) -> f64
Returns the flattening (f) parameter
Sourcepub fn third_flattening_n_eta(&self) -> f64
pub fn third_flattening_n_eta(&self) -> f64
n - Rapp Vol1 3.19
Sourcepub fn radius_curvature_meridian(&self, latitude: &Latitude) -> Length
Available on crate feature std
only.
pub fn radius_curvature_meridian(&self, latitude: &Latitude) -> Length
std
only.Computes the radius of curvature in the meridian (north-south) direction at the indicated latitude Rapp Vol1 - 3.87
Sourcepub fn radius_curvature_prime_vertical(&self, latitude: &Latitude) -> Length
Available on crate feature std
only.
pub fn radius_curvature_prime_vertical(&self, latitude: &Latitude) -> Length
std
only.Computes the radius of curvature in the prime meridian (east-west) direction at the indicated latitude Rapp Vol1 - 3.99
Sourcepub fn radius_curvature_azimuthal(
&self,
latitude: &Latitude,
azimuth: &Compass<Azimuth>,
) -> Length
Available on crate feature std
only.
pub fn radius_curvature_azimuthal( &self, latitude: &Latitude, azimuth: &Compass<Azimuth>, ) -> Length
std
only.Computes the radius of curvature in the normal section azimuth at the indicated latitude Rapp Vol1 - 3.104
Sourcepub fn radius_curvature_average(&self, latitude: &Latitude) -> Length
Available on crate feature std
only.
pub fn radius_curvature_average(&self, latitude: &Latitude) -> Length
std
only.Computes the average radius of curvature at the indicated latitude Rapp Vol1 - 3.140
Sourcepub fn spherical_radius_equal_area_approximation(&self) -> Length
pub fn spherical_radius_equal_area_approximation(&self) -> Length
Computes the radius of a sphere that has the same surface area of this ellipsoid Rapp Vol1 - 3.144
Sourcepub fn spherical_radius_equal_volume_approximation(&self) -> Length
pub fn spherical_radius_equal_volume_approximation(&self) -> Length
Computes the radius of a sphere that has the same interior volume of this ellipsoid Rapp Vol1 - 3.149