Struct geographiclib_rs::Geodesic [−][src]
pub struct Geodesic {
pub a: f64,
pub f: f64,
pub _f1: f64,
pub _e2: f64,
pub _ep2: f64,
pub _b: f64,
pub _c2: f64,
pub GEODESIC_ORDER: i64,
pub tiny_: f64,
// some fields omitted
}
Fields
a: f64
f: f64
_f1: f64
_e2: f64
_ep2: f64
_b: f64
_c2: f64
GEODESIC_ORDER: i64
tiny_: f64
Implementations
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)
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)
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)
pub fn _gen_inverse_azi(
&self,
lat1: f64,
lon1: f64,
lat2: f64,
lon2: f64,
outmask: u64
) -> (f64, f64, f64, f64, f64, f64, f64, f64)
Trait Implementations
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).
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).
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).
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).
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).
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).
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).
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).
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).
Auto Trait Implementations
impl RefUnwindSafe for Geodesic
impl UnwindSafe for Geodesic
Blanket Implementations
Mutably borrows from an owned value. Read more