#[non_exhaustive]pub struct GeodesicInverse {
pub distance_m: f64,
pub initial_azimuth_rad: f64,
pub final_azimuth_rad: f64,
}Expand description
The geodesic between two points: Karney’s inverse problem.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.distance_m: f64The geodesic’s length s₁₂ on the ellipsoid’s surface, m.
initial_azimuth_rad: f64Azimuth α₁ leaving point 1, rad, clockwise from north, in [−π, π]: the bearing from
point 1 to point 2.
final_azimuth_rad: f64Azimuth α₂ arriving at point 2, rad, clockwise from north, in [−π, π]: the direction of
travel there, not the bearing back to point 1 (that is α₂ ± π).
Trait Implementations§
Source§impl Clone for GeodesicInverse
impl Clone for GeodesicInverse
Source§fn clone(&self) -> GeodesicInverse
fn clone(&self) -> GeodesicInverse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GeodesicInverse
Source§impl Debug for GeodesicInverse
impl Debug for GeodesicInverse
Source§impl<'de> Deserialize<'de> for GeodesicInverse
impl<'de> Deserialize<'de> for GeodesicInverse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GeodesicInverse
impl PartialEq for GeodesicInverse
Source§fn eq(&self, other: &GeodesicInverse) -> bool
fn eq(&self, other: &GeodesicInverse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GeodesicInverse
impl Serialize for GeodesicInverse
impl StructuralPartialEq for GeodesicInverse
Auto Trait Implementations§
impl Freeze for GeodesicInverse
impl RefUnwindSafe for GeodesicInverse
impl Send for GeodesicInverse
impl Sync for GeodesicInverse
impl Unpin for GeodesicInverse
impl UnsafeUnpin for GeodesicInverse
impl UnwindSafe for GeodesicInverse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more