calculate_pole

Function calculate_pole 

Source
pub fn calculate_pole(lat: Angle, lon: Angle, azi: Angle) -> Vector3d
Expand description

Calculate the right hand pole vector of a Great Circle from an initial position and an azimuth.

See: http://www.movable-type.co.uk/scripts/latlong-vectors.html#distance

  • lat - start point Latitude.
  • lon - start point Longitude.
  • azi - start point azimuth.

returns the right hand pole vector of the great circle.