pub struct ThomasDirect {
pub spheroid: Spheroid,
pub second_order: bool,
}Expand description
Forsyth–Andoyer–Lambert direct approximation with Thomas’s second-order terms.
Inputs and output angles are radians. Mirrors
formula::thomas_direct<CT, true> from
formulas/thomas_direct.hpp:39-238.
Fields§
§spheroid: SpheroidReference ellipsoid.
second_order: boolInclude Thomas’s second-order correction terms.
Implementations§
Source§impl ThomasDirect
impl ThomasDirect
Trait Implementations§
Source§impl Clone for ThomasDirect
impl Clone for ThomasDirect
Source§fn clone(&self) -> ThomasDirect
fn clone(&self) -> ThomasDirect
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 ThomasDirect
Source§impl Debug for ThomasDirect
impl Debug for ThomasDirect
Source§impl Default for ThomasDirect
impl Default for ThomasDirect
Source§impl<P> DestinationStrategy<P> for ThomasDirectwhere
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 ThomasDirectwhere
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 ThomasDirect
impl RefUnwindSafe for ThomasDirect
impl Send for ThomasDirect
impl Sync for ThomasDirect
impl Unpin for ThomasDirect
impl UnsafeUnpin for ThomasDirect
impl UnwindSafe for ThomasDirect
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