Function map_3d::geodetic2ecef
source · [−]Expand description
Returns the tuple (x,y,z) of coordinates in the ECEF system with desired reference frame.
Inputs:
- lat = latitude [rad]
- lon = longitude [rad]
- alt = altitude [m]
- r_ellips = reference ellipsoid, defaults ref. frame is WGS84
Outputs:
- x = x ECEF coordinate [m]
- y = y ECEF coordinate [m]
- z = z ECEF coordinate [m]