[−][src]Struct geographiclib_rs::Geodesic
Fields
a: f64
f: f64
_f1: f64
_e2: f64
_ep2: f64
_b: f64
_c2: f64
GEODESIC_ORDER: i64
tiny_: f64
Methods
impl Geodesic
[src]
pub fn wgs84() -> Self
[src]
pub fn equatorial_radius(&self) -> f64
[src]
pub fn flattening(&self) -> f64
[src]
impl Geodesic
[src]
pub fn new(a: f64, f: f64) -> Self
[src]
pub fn _A3f(&self, eps: f64) -> f64
[src]
pub fn _C3f(&self, eps: f64, c: &mut [f64])
[src]
pub fn _C4f(&self, eps: f64, c: &mut [f64])
[src]
pub fn _Lengths(
&self,
eps: f64,
sig12: f64,
ssig1: f64,
csig1: f64,
dn1: f64,
ssig2: f64,
csig2: f64,
dn2: f64,
cbet1: f64,
cbet2: f64,
outmask: u64,
C1a: &mut [f64],
C2a: &mut [f64]
) -> (f64, f64, f64, f64, f64)
[src]
&self,
eps: f64,
sig12: f64,
ssig1: f64,
csig1: f64,
dn1: f64,
ssig2: f64,
csig2: f64,
dn2: f64,
cbet1: f64,
cbet2: f64,
outmask: u64,
C1a: &mut [f64],
C2a: &mut [f64]
) -> (f64, f64, f64, f64, f64)
pub fn _InverseStart(
&self,
sbet1: f64,
cbet1: f64,
dn1: f64,
sbet2: f64,
cbet2: f64,
dn2: f64,
lam12: f64,
slam12: f64,
clam12: f64,
C1a: &mut [f64],
C2a: &mut [f64]
) -> (f64, f64, f64, f64, f64, f64)
[src]
&self,
sbet1: f64,
cbet1: f64,
dn1: f64,
sbet2: f64,
cbet2: f64,
dn2: f64,
lam12: f64,
slam12: f64,
clam12: f64,
C1a: &mut [f64],
C2a: &mut [f64]
) -> (f64, f64, f64, f64, f64, f64)
pub fn _Lambda12(
&self,
sbet1: f64,
cbet1: f64,
dn1: f64,
sbet2: f64,
cbet2: f64,
dn2: f64,
salp1: f64,
calp1: &mut f64,
slam120: f64,
clam120: f64,
diffp: bool,
C1a: &mut [f64],
C2a: &mut [f64],
C3a: &mut [f64]
) -> (f64, f64, f64, f64, f64, f64, f64, f64, f64, f64, f64)
[src]
&self,
sbet1: f64,
cbet1: f64,
dn1: f64,
sbet2: f64,
cbet2: f64,
dn2: f64,
salp1: f64,
calp1: &mut f64,
slam120: f64,
clam120: f64,
diffp: bool,
C1a: &mut [f64],
C2a: &mut [f64],
C3a: &mut [f64]
) -> (f64, f64, f64, f64, f64, f64, f64, f64, f64, f64, f64)
pub fn _gen_inverse_azi(
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64,
outmask: u64
) -> (f64, f64, f64, f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64,
outmask: u64
) -> (f64, f64, f64, f64, f64, f64, f64, f64)
pub fn _gen_inverse(
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64,
outmask: u64
) -> (f64, f64, f64, f64, f64, f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64,
outmask: u64
) -> (f64, f64, f64, f64, f64, f64, f64, f64, f64, f64)
pub fn _gen_direct(
&self,
lat1: f64,
lon1: f64,
azi1: f64,
arcmode: bool,
s12_a12: f64,
outmask: u64
) -> (f64, f64, f64, f64, f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
azi1: f64,
arcmode: bool,
s12_a12: f64,
outmask: u64
) -> (f64, f64, f64, f64, f64, f64, f64, f64, f64)
returns (a12, lat2, lon2, azi2, s12, m12, M12, M21, S12)
Trait Implementations
impl Clone for Geodesic
[src]
impl Copy for Geodesic
[src]
impl Debug for Geodesic
[src]
impl DirectGeodesic<(f64, f64, f64, f64, f64, f64, f64, f64)> for Geodesic
[src]
fn direct(
&self,
lat1: f64,
lon1: f64,
azi1: f64,
s12: f64
) -> (f64, f64, f64, f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
azi1: f64,
s12: f64
) -> (f64, f64, f64, f64, f64, f64, f64, f64)
See the documentation for the DirectGeodesic trait.
Returns
- lat2 latitude of point 2 (degrees).
- lon2 longitude of point 2 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- m12 reduced length of geodesic (meters).
- M12 geodesic scale of point 2 relative to point 1 (dimensionless).
- M21 geodesic scale of point 1 relative to point 2 (dimensionless).
- S12 area under the geodesic (meters2).
- a12 arc length of between point 1 and point 2 (degrees).
impl DirectGeodesic<(f64, f64, f64, f64, f64, f64)> for Geodesic
[src]
fn direct(
&self,
lat1: f64,
lon1: f64,
azi1: f64,
s12: f64
) -> (f64, f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
azi1: f64,
s12: f64
) -> (f64, f64, f64, f64, f64, f64)
See the documentation for the DirectGeodesic trait.
Returns
- lat2 latitude of point 2 (degrees).
- lon2 longitude of point 2 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- m12 reduced length of geodesic (meters).
- M12 geodesic scale of point 2 relative to point 1 (dimensionless).
- M21 geodesic scale of point 1 relative to point 2 (dimensionless).
impl DirectGeodesic<(f64, f64, f64, f64, f64)> for Geodesic
[src]
fn direct(
&self,
lat1: f64,
lon1: f64,
azi1: f64,
s12: f64
) -> (f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
azi1: f64,
s12: f64
) -> (f64, f64, f64, f64, f64)
See the documentation for the DirectGeodesic trait.
Returns
- lat2 latitude of point 2 (degrees).
- lon2 longitude of point 2 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- M12 geodesic scale of point 2 relative to point 1 (dimensionless).
- M21 geodesic scale of point 1 relative to point 2 (dimensionless).
impl DirectGeodesic<(f64, f64, f64, f64)> for Geodesic
[src]
fn direct(
&self,
lat1: f64,
lon1: f64,
azi1: f64,
s12: f64
) -> (f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
azi1: f64,
s12: f64
) -> (f64, f64, f64, f64)
See the documentation for the DirectGeodesic trait.
Returns
- lat2 latitude of point 2 (degrees).
- lon2 longitude of point 2 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- m12 reduced length of geodesic (meters).
impl DirectGeodesic<(f64, f64, f64)> for Geodesic
[src]
fn direct(&self, lat1: f64, lon1: f64, azi1: f64, s12: f64) -> (f64, f64, f64)
[src]
See the documentation for the DirectGeodesic trait.
Returns
- lat2 latitude of point 2 (degrees).
- lon2 longitude of point 2 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
impl DirectGeodesic<(f64, f64)> for Geodesic
[src]
fn direct(&self, lat1: f64, lon1: f64, azi1: f64, s12: f64) -> (f64, f64)
[src]
See the documentation for the DirectGeodesic trait.
Returns
- lat2 latitude of point 2 (degrees).
- lon2 longitude of point 2 (degrees).
impl InverseGeodesic<(f64, f64, f64, f64, f64, f64, f64, f64)> for Geodesic
[src]
fn inverse(
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64, f64, f64, f64, f64)
See the documentation for the InverseGeodesic trait.
Returns
- s12 distance between point 1 and point 2 (meters).
- azi1 azimuth at point 1 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- m12 reduced length of geodesic (meters).
- M12 geodesic scale of point 2 relative to point 1 (dimensionless).
- M21 geodesic scale of point 1 relative to point 2 (dimensionless).
- S12 area under the geodesic (meters2).
- a12 arc length of between point 1 and point 2 (degrees).
impl InverseGeodesic<(f64, f64, f64, f64, f64, f64, f64)> for Geodesic
[src]
fn inverse(
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64, f64, f64, f64)
See the documentation for the InverseGeodesic trait.
Returns
- s12 distance between point 1 and point 2 (meters).
- azi1 azimuth at point 1 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- m12 reduced length of geodesic (meters).
- M12 geodesic scale of point 2 relative to point 1 (dimensionless).
- M21 geodesic scale of point 1 relative to point 2 (dimensionless).
- a12 arc length of between point 1 and point 2 (degrees).
impl InverseGeodesic<(f64, f64, f64, f64, f64, f64)> for Geodesic
[src]
fn inverse(
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64, f64, f64)
See the documentation for the InverseGeodesic trait.
Returns
- s12 distance between point 1 and point 2 (meters).
- azi1 azimuth at point 1 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- M12 geodesic scale of point 2 relative to point 1 (dimensionless).
- M21 geodesic scale of point 1 relative to point 2 (dimensionless).
- a12 arc length of between point 1 and point 2 (degrees).
impl InverseGeodesic<(f64, f64, f64, f64, f64)> for Geodesic
[src]
fn inverse(
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64, f64)
See the documentation for the InverseGeodesic trait.
Returns
- s12 distance between point 1 and point 2 (meters).
- azi1 azimuth at point 1 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- m12 reduced length of geodesic (meters).
- a12 arc length of between point 1 and point 2 (degrees).
impl InverseGeodesic<(f64, f64, f64, f64)> for Geodesic
[src]
fn inverse(
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64)
[src]
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64
) -> (f64, f64, f64, f64)
See the documentation for the InverseGeodesic trait.
Returns
- s12 distance between point 1 and point 2 (meters).
- azi1 azimuth at point 1 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- a12 arc length of between point 1 and point 2 (degrees).
impl InverseGeodesic<(f64, f64, f64)> for Geodesic
[src]
fn inverse(&self, lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> (f64, f64, f64)
[src]
See the documentation for the InverseGeodesic trait.
Returns
- azi1 azimuth at point 1 (degrees).
- azi2 (forward) azimuth at point 2 (degrees).
- a12 arc length of between point 1 and point 2 (degrees).
impl InverseGeodesic<(f64, f64)> for Geodesic
[src]
fn inverse(&self, lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> (f64, f64)
[src]
See the documentation for the InverseGeodesic trait.
Returns
- s12 distance between point 1 and point 2 (meters).
- a12 arc length of between point 1 and point 2 (degrees).
impl InverseGeodesic<f64> for Geodesic
[src]
Auto Trait Implementations
impl RefUnwindSafe for Geodesic
impl Send for Geodesic
impl Sync for Geodesic
impl Unpin for Geodesic
impl UnwindSafe for Geodesic
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,