Function coord_transforms::geo::lla2enu [] [src]

pub fn lla2enu(
    lla_origin: &Vector3<f64>,
    lla_vec: &Vector3<f64>,
    ellipsoid: &geo_ellipsoid
) -> Vector3<f64>

Converts 3-d LLA origin coordinates plus 3-d LLA coordinates and an ellipsoid to 3-d local ENU cartesian coordinates

Arguments

  • lla_origin - Vector3 reference to the LLA origin vector (lat, long, alt) (radians, radians, meters)
  • lla_vec - Vector3 reference to the LLA vector (lat, long, alt) (radians, radians, meters)
  • ellipsoid - geo_ellipsoid reference to the ellipsoid

Return Value

  • nalgebra::Vector3<f64> - x, y, z