NearestNeighborQueryEngine2.h
Go to the documentation of this file.
double distance
Definition: NearestNeighborQueryEngine2.h:21
Nearest neighbor query result.
Definition: NearestNeighborQueryEngine2.h:18
const T * item
Definition: NearestNeighborQueryEngine2.h:20
Definition: pybind11Utils.h:24
virtual NearestNeighborQueryResult2< T > GetNearestNeighbor(const Vector2D &pt, const NearestNeighborDistanceFunc2< T > &distanceFunc) const =0
Returns the nearest neighbor for given point and distance measure function.
Abstract base class for 2-D nearest neighbor query engine.
Definition: NearestNeighborQueryEngine2.h:30
std::function< double(const T &, const Vector2D &)> NearestNeighborDistanceFunc2
Nearest neighbor distance measure function.
Definition: NearestNeighborQueryEngine2.h:26