Skip to main content

calculate_intersection_distances

Function calculate_intersection_distances 

Source
pub fn calculate_intersection_distances(
    arc_0: &Arc,
    arc_1: &Arc,
) -> (Radians, Radians)
Expand description

Calculate the great-circle distances along a pair of Arcs to their closest intersection point or their coincident arc distances if the Arcs are on coincident Great Circles.

  • arc_0, arc_1 the Arcs.

returns the distances along the first Arc and second Arc to the intersection point or to their coincident arc distances if the Arcs do not intersect.