Like set_inclusive_max_distance(), except that "max_distance" is also increased by the maximum error in the distance calculation. This ensures that all points whose true distance is less than or equal to "max_distance" will be returned (along with some points whose true distance is slightly greater).
Like set_max_distance(), except that points whose distance is exactly equal to "max_distance" are also returned. Equivalent to calling set_max_distance(max_distance.Successor()).
Specifies that only points whose distance to the target is less than "max_distance" should be returned.
Versions of set_max_distance that take an S1Angle argument. (Note that these functions require a conversion, and that the S1ChordAngle versions are preferred.)
See S2ClosestPointQueryBaseOptions for documentation.
Options that control the set of points returned. Note that by default *all* points are returned, so you will always want to set either the max_points() option or the max_distance() option (or both).
This class is also available as S2ClosestPointQuery<Data>::Options. (It is defined here to avoid depending on the "Data" template argument.)