S2ClosestPointQuery.isDistanceLess

Returns true if the distance to "target" is less than "limit".

This method is usually much faster than GetDistance(), since it is much less work to determine whether the minimum distance is above or below a threshold than it is to calculate the actual minimum distance.

class S2ClosestPointQuery(Data)
bool
isDistanceLess

Meta