S2ClosestPointQueryBase.findClosestPoint

Convenience method that returns exactly one point. If no points satisfy the given search criteria, then a Result with distance() == Infinity() and is_empty() == true is returned.

REQUIRES: options.max_points() == 1

class S2ClosestPointQueryBase(Distance, Data)
findClosestPoint

Meta