An S2DistanceTarget subtype for computing the minimum distance to an S2ShapeIndex \(a collection of points, polylines, and/or polygons\).
S2MinDistance is a thin wrapper around S1ChordAngle that is used by classes such as S2ClosestEdgeQuery to compute minimum distances on the sphere (as opposed to maximum distances, ellipsoidal distances, etc).