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: f64f: f64_f1: f64_e2: f64_ep2: f64_b: f64_c2: f64GEODESIC_ORDER: i64tiny_: f64

Implementations

returns (a12, lat2, lon2, azi2, s12, m12, M12, M21, S12)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 DirectGeodesic trait.

Returns
  • lat2 latitude of point 2 (degrees).
  • lon2 longitude of point 2 (degrees).
  • azi2 (forward) azimuth at point 2 (degrees).

See the documentation for the DirectGeodesic trait.

Returns
  • lat2 latitude of point 2 (degrees).
  • lon2 longitude of 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).
  • 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).

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).

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).

See the documentation for the InverseGeodesic trait.

Returns
  • s12 distance between point 1 and point 2 (meters).

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.