pub struct InverseResult {
pub distance: f64,
pub azimuth: f64,
pub reverse_azimuth: f64,
pub converged: bool,
pub reduced_length: f64,
pub geodesic_scale: f64,
}Expand description
Distance and endpoint azimuths produced by an inverse geodesic solution.
Angular values are radians; distance uses the spheroid radius unit.
Mirrors formula::result_inverse from formulas/result_inverse.hpp:31-48,
with an additional convergence flag for iterative Rust solvers.
Fields§
§distance: f64Shortest geodesic distance.
azimuth: f64Forward azimuth at the first point.
reverse_azimuth: f64Final/reverse azimuth at the second point.
converged: boolWhether the inverse iteration met its angular convergence threshold.
reduced_length: f64Reduced geodesic length in the spheroid’s radius unit.
geodesic_scale: f64Dimensionless forward geodesic scale.
Trait Implementations§
Source§impl Clone for InverseResult
impl Clone for InverseResult
Source§fn clone(&self) -> InverseResult
fn clone(&self) -> InverseResult
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 InverseResult
Source§impl Debug for InverseResult
impl Debug for InverseResult
Source§impl Default for InverseResult
impl Default for InverseResult
Source§impl PartialEq for InverseResult
impl PartialEq for InverseResult
impl StructuralPartialEq for InverseResult
Auto Trait Implementations§
impl Freeze for InverseResult
impl RefUnwindSafe for InverseResult
impl Send for InverseResult
impl Sync for InverseResult
impl Unpin for InverseResult
impl UnsafeUnpin for InverseResult
impl UnwindSafe for InverseResult
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