Function unit_sphere::vector::intersection::closest_intersection_point

source ยท
pub fn closest_intersection_point(
    intersection: &Vector3d,
    centre: Option<Vector3d>,
) -> Vector3d
Expand description

Determine the closest intersection point to the centre of the Arcs.

  • intersection a great circle intersection point.
  • centre the centre of the Arcs mid points.

returns intersection if centre cannot be normalized or intersection and centre are in the same hemisphere. Otherwise, it returns the antipodal intersection point.