Struct blh::GeocentricCoord [] [src]

pub struct GeocentricCoord {
    pub x: f64,
    pub y: f64,
    pub z: f64,
}

A position on the earth represented by x [m], y [m], and z [m] in geocentric (ECEF) coordinate.

Fields

Methods

impl GeocentricCoord
[src]

Trait Implementations

impl Debug for GeocentricCoord
[src]

Formats the value using the given formatter.

impl Clone for GeocentricCoord
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for GeocentricCoord
[src]

impl PartialEq for GeocentricCoord
[src]

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

This method tests for !=.

impl ApproxEq for GeocentricCoord
[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> From<GeodeticCoord<E>> for GeocentricCoord
[src]

Performs the conversion.