Compute vertex neighborhoods on a sphere based on the given max distance along the sphere.
Useful links