powered by
Distance from points to line on sphere.
S2Polyline_dist(line, x)
Line represented by a sequence of vertices given as a single three-column matrices with one line per vertex.
Points represented by three-column matrices.