s2.s2closest_point_query_base

Undocumented in source.

Members

Classes

S2ClosestPointQueryBase
class S2ClosestPointQueryBase(Distance, Data)

S2ClosestPointQueryBase is a templatized class for finding the closest point(s) to a given target. It is not intended to be used directly, but rather to serve as the implementation of various specialized classes with more convenient APIs (such as S2ClosestPointQuery). It is flexible enough so that it can be adapted to compute maximum distances and even potentially Hausdorff distances.

S2ClosestPointQueryBaseOptions
class S2ClosestPointQueryBaseOptions(Distance)

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).

Meta