[−][src]Function map_3d::enu2ecef
pub fn enu2ecef(
e: f64,
n: f64,
u: f64,
lat0: f64,
lon0: f64,
alt0: f64
) -> (f64, f64, f64)
Returns the tuple (x,y,z) of coordinates in the ECEF system
Inputs:
- e = east coordinate [m] from reference geodetic location
- n = north coordinate [m] from reference geodetic location
- u = up coordinate [m] from reference geodetic location
- lat0 = reference latitude [rad]
- lon0 = reference longitude [rad]
- alt0 = reference altitude [m]
Outputs:
- x = x ECEF coordinate [m]
- y = y ECEF coordinate [m]
- z = z ECEF coordinate [m]