[][src]Function map_3d::geodetic2enu

pub fn geodetic2enu(
    lat: f64,
    lon: f64,
    alt: f64,
    lat0: f64,
    lon0: f64,
    alt0: f64
) -> (f64, f64, f64)

Returns the tuple (east,north,up) of coordinates in the ENU system

Inputs:

  • lat = input latitude [rad]
  • lon = input longitude [rad]
  • alt = input altitude [m]
  • lat0 = reference latitude [rad]
  • lon0 = reference longitude [rad]
  • alt0 = reference altitude [m]

Outputs:

  • e = east coordinate [m] of input geodetic location from reference geodetic location
  • n = north coordinate [m] of input geodetic location from reference geodetic location
  • u = up coordinate [m] of input geodetic location from reference geodetic location