Function unit_sphere::vector::intersection::calculate_intersection_point

source ยท
pub fn calculate_intersection_point(
    pole1: &Vector3d,
    pole2: &Vector3d,
) -> Option<Vector3d>
Expand description

Calculate an intersection point between the poles of two Great Circles.
See: http://www.movable-type.co.uk/scripts/latlong-vectors.html#intersection

  • pole1, pole2 the poles.

return an intersection point or None if the poles represent coincident Great Circles.