Computes the great-circle midpoint between two geographic positions. The
midpoint is the point on the great-circle arc that is equidistant from both
endpoints.
For antipodal inputs the midpoint is mathematically underdetermined (any
meridian is valid); the function still returns a finite, deterministic
result rather than throwing. Output longitude is normalized to the range
[-180, 180]; points on the antimeridian may be represented with either
sign.
Computes the great-circle midpoint between two geographic positions. The midpoint is the point on the great-circle arc that is equidistant from both endpoints.
For antipodal inputs the midpoint is mathematically underdetermined (any meridian is valid); the function still returns a finite, deterministic result rather than throwing. Output longitude is normalized to the range
[-180, 180]; points on the antimeridian may be represented with either sign.