[][src]Function map_3d::eci2aer

pub fn eci2aer(
    gst: f64,
    x: f64,
    y: f64,
    z: f64,
    lat: f64,
    lon: f64,
    alt: f64
) -> (f64, f64, f64)

Returns the tuple (azimuth,elevation,slant range) of coordinates in the AER system

Inputs:

  • x = x ECI coordinate [m]
  • y = y ECI coordinate [m]
  • z = z ECI coordinate [m]
  • lat = reference latitude [rad]
  • lon = reference longitude [rad]
  • alt = reference altitude [m]

Outputs:

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