Struct blh::GeodeticCoord [] [src]

pub struct GeodeticCoord<E> {
    pub lat: Radians<f64>,
    pub lon: Radians<f64>,
    pub hgt: f64,
    // some fields omitted
}

A position on the earth represented by latitude [rad], longitude [rad], and geoid height [m].

Fields

Methods

impl<E> GeodeticCoord<E>
[src]

Construct a geodetic coord with latitude/longitude in radians.

Construct a geodetic coord with latitude/longitude in degrees.

Trait Implementations

impl<E> PartialEq for GeodeticCoord<E>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<E> ApproxEq for GeodeticCoord<E>
[src]

Used for specifying relative comparisons.

The default tolerance to use when testing values that are close together. Read more

The default relative tolerance for testing values that are far-apart. Read more

The default ULPs to tolerate when testing values that are far-apart. Read more

A test for equality that uses a relative comparison if the values are far apart.

A test for equality that uses units in the last place (ULP) if the values are far apart.

The inverse of ApproxEq::relative_eq.

The inverse of ApproxEq::ulps_eq.

impl<E: Ellipsoid> Debug for GeodeticCoord<E>
[src]

Formats the value using the given formatter.

impl<E> Clone for GeodeticCoord<E>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E> Copy for GeodeticCoord<E>
[src]

impl<E: Ellipsoid> From<GeocentricCoord> for GeodeticCoord<E>
[src]

Performs the conversion.