pub struct GeographicLength {
pub andoyer: Andoyer,
}Expand description
Geographic length: sum of Andoyer geodesic distances between consecutive points.
Carries the same spheroid parameter as
Andoyer so callers can pick WGS84 /
GDA / custom. Default::default() produces
GeographicLength { andoyer: Andoyer::WGS84 }.
Mirrors boost::geometry::strategies::length::geographic<> from
strategies/length/geographic.hpp.
Fields§
§andoyer: AndoyerThe inner Andoyer geodesic kernel summed over each segment.
Trait Implementations§
Source§impl Clone for GeographicLength
impl Clone for GeographicLength
Source§fn clone(&self) -> GeographicLength
fn clone(&self) -> GeographicLength
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 GeographicLength
Source§impl Debug for GeographicLength
impl Debug for GeographicLength
Source§impl Default for GeographicLength
impl Default for GeographicLength
Source§fn default() -> GeographicLength
fn default() -> GeographicLength
Returns the “default value” for a type. Read more
Source§impl<L> LengthStrategy<L> for GeographicLengthwhere
L: Linestring,
<L::Point as Point>::Cs: CoordinateSystem,
<<L::Point as Point>::Cs as CoordinateSystem>::Family: SameAs<GeographicFamily>,
Andoyer: DistanceStrategy<L::Point, L::Point, Out = <L::Point as Point>::Scalar>,
impl<L> LengthStrategy<L> for GeographicLengthwhere
L: Linestring,
<L::Point as Point>::Cs: CoordinateSystem,
<<L::Point as Point>::Cs as CoordinateSystem>::Family: SameAs<GeographicFamily>,
Andoyer: DistanceStrategy<L::Point, L::Point, Out = <L::Point as Point>::Scalar>,
Auto Trait Implementations§
impl Freeze for GeographicLength
impl RefUnwindSafe for GeographicLength
impl Send for GeographicLength
impl Sync for GeographicLength
impl Unpin for GeographicLength
impl UnsafeUnpin for GeographicLength
impl UnwindSafe for GeographicLength
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