S2ClosestPointQuery.findClosestPoint

Returns the closest point to the target. If no point satisfies the search criteria, then a Result object with distance() == Infinity() and is_empty() == true is returned.

class S2ClosestPointQuery(Data)
findClosestPoint

Meta