calculate_intersection_distances

Function calculate_intersection_distances 

Source
pub fn calculate_intersection_distances(
    a1: &Vector3d,
    pole1: &Vector3d,
    a2: &Vector3d,
    pole2: &Vector3d,
    c: &Vector3d,
) -> (Radians, Radians)
Expand description

Calculate the great circle distances to an intersection point from the start points of a pair of great circle arcs, on different great circles.

  • a1, a2 the start points of the great circle arcs
  • pole1, pole2 the poles of the great circle arcs
  • c the intersection point

returns a pair of great circle distances along the arcs to the intersection point in Radians.