midpoint

spherical_geometry.great_circle_arc.midpoint(A, B)[source]

Returns the midpoint on the great circle arc between A and B.

Parameters:
A, B(x, y, z) triples or Nx3 arrays of triples

The endpoints of the great circle arc. It is assumed that these points are already normalized.

Returns:
midpoint(x, y, z) triple or Nx3 arrays of triples

The midpoint between A and B, normalized on the unit sphere.