pub struct DirectResult {
pub lon2: f64,
pub lat2: f64,
pub reverse_azimuth: f64,
pub reduced_length: f64,
pub geodesic_scale: f64,
}Expand description
Coordinates and reverse azimuth produced by a direct geodesic solution.
All angular values are radians. Mirrors formula::result_direct from
formulas/result_direct.hpp:29-42.
Fields§
§lon2: f64Destination longitude in normalized radians, [-π, π].
lat2: f64Destination latitude in radians.
reverse_azimuth: f64Final/reverse azimuth in radians.
reduced_length: f64Reduced geodesic length in the spheroid’s radius unit.
geodesic_scale: f64Dimensionless forward geodesic scale.
Trait Implementations§
Source§impl Clone for DirectResult
impl Clone for DirectResult
Source§fn clone(&self) -> DirectResult
fn clone(&self) -> DirectResult
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 DirectResult
Source§impl Debug for DirectResult
impl Debug for DirectResult
Source§impl Default for DirectResult
impl Default for DirectResult
Source§impl PartialEq for DirectResult
impl PartialEq for DirectResult
impl StructuralPartialEq for DirectResult
Auto Trait Implementations§
impl Freeze for DirectResult
impl RefUnwindSafe for DirectResult
impl Send for DirectResult
impl Sync for DirectResult
impl Unpin for DirectResult
impl UnsafeUnpin for DirectResult
impl UnwindSafe for DirectResult
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