Function unit_sphere::vector::direction

source ยท
pub fn direction(a: &Vector3d, pole: &Vector3d) -> Vector3d
Expand description

Calculate the direction vector of a Great Circle arc.

  • a - the start point.
  • pole - the pole of a Great Circle.

returns the direction vector at the point on the great circle.