pub struct VincentyDirect {
pub spheroid: Spheroid,
pub max_iterations: u32,
pub tolerance: f64,
}Expand description
Vincenty’s iterative direct geodesic formula.
Given a longitude/latitude, distance, and initial azimuth, computes the
destination and final azimuth. Inputs and output angles are radians;
distance uses the spheroid radius unit. Mirrors
formula::vincenty_direct<CT> from
formulas/vincenty_direct.hpp:43-178.
Fields§
§spheroid: SpheroidReference ellipsoid.
max_iterations: u32Iteration limit, matching Boost’s default of 1000.
tolerance: f64Convergence threshold for auxiliary-sphere arc length.
Implementations§
Trait Implementations§
Source§impl Clone for VincentyDirect
impl Clone for VincentyDirect
Source§fn clone(&self) -> VincentyDirect
fn clone(&self) -> VincentyDirect
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 VincentyDirect
Source§impl Debug for VincentyDirect
impl Debug for VincentyDirect
Source§impl Default for VincentyDirect
impl Default for VincentyDirect
Source§impl<P> DestinationStrategy<P> for VincentyDirectwhere
P: Point<Scalar = f64>,
P::Cs: HasAngularUnits,
<P::Cs as CoordinateSystem>::Family: SameAs<GeographicFamily>,
Available on crate feature std only.
impl<P> DestinationStrategy<P> for VincentyDirectwhere
P: Point<Scalar = f64>,
P::Cs: HasAngularUnits,
<P::Cs as CoordinateSystem>::Family: SameAs<GeographicFamily>,
Available on crate feature
std only.Auto Trait Implementations§
impl Freeze for VincentyDirect
impl RefUnwindSafe for VincentyDirect
impl Send for VincentyDirect
impl Sync for VincentyDirect
impl Unpin for VincentyDirect
impl UnsafeUnpin for VincentyDirect
impl UnwindSafe for VincentyDirect
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