CubbyFlow::NearestNeighborQueryEngine2< T > Class Template Referenceabstract
Abstract base class for 2-D nearest neighbor query engine. More...
#include <Core/QueryEngine/NearestNeighborQueryEngine2.h>
Inheritance diagram for CubbyFlow::NearestNeighborQueryEngine2< T >:
Public Member Functions | |
virtual NearestNeighborQueryResult2< T > | GetNearestNeighbor (const Vector2D &pt, const NearestNeighborDistanceFunc2< T > &distanceFunc) const =0 |
Returns the nearest neighbor for given point and distance measure function. More... | |
Detailed Description
template<typename T>
class CubbyFlow::NearestNeighborQueryEngine2< T >
Abstract base class for 2-D nearest neighbor query engine.
Member Function Documentation
◆ GetNearestNeighbor()
template<typename T>
|
pure virtual |
Returns the nearest neighbor for given point and distance measure function.
Implemented in CubbyFlow::ListQueryEngine2< T >, CubbyFlow::Quadtree< T >, CubbyFlow::BVH2< T >, CubbyFlow::BVH2< ImplicitSurface2Ptr >, and CubbyFlow::BVH2< Surface2Ptr >.
The documentation for this class was generated from the following file:
- Core/QueryEngine/NearestNeighborQueryEngine2.h