Function coord_transforms::geo::enu2ned [] [src]

pub fn enu2ned(enu_vec: &Vector3<f64>) -> Vector3<f64>

Converts 3-d ENU coordinates to 3-d NED coordinates

Arguments

  • enu_vec - Vector3 reference to the ENU vector (x, y, z)

Return Value

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

Formula

  • x = y
  • y = x
  • z = -z