[][src]Function map_3d::geodetic2aer

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

Returns the tuple (azimuth,elevation,slant range) of coordinates in the AER 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:

  • az = azimuth angle [rad] of input geodetic location from reference geodetic location
  • el = elevation angle [rad] of input geodetic location from reference geodetic location
  • slant_range = slant range [m] of input geodetic location from reference geodetic location