CubbyFlow::NearestNeighborQueryEngine< T, N > Class Template Referenceabstract
Abstract base class for N-D nearest neighbor query engine. More...
#include <Core/QueryEngine/NearestNeighborQueryEngine.hpp>
Inheritance diagram for CubbyFlow::NearestNeighborQueryEngine< T, N >:
Public Member Functions | |
NearestNeighborQueryEngine ()=default | |
Default constructor. More... | |
virtual | ~NearestNeighborQueryEngine ()=default |
Default virtual destructor. More... | |
NearestNeighborQueryEngine (const NearestNeighborQueryEngine &other)=default | |
Default copy constructor. More... | |
NearestNeighborQueryEngine (NearestNeighborQueryEngine &&other) noexcept=default | |
Default move constructor. More... | |
NearestNeighborQueryEngine & | operator= (const NearestNeighborQueryEngine &other)=default |
Default copy assignment operator. More... | |
NearestNeighborQueryEngine & | operator= (NearestNeighborQueryEngine &&other) noexcept=default |
Default move assignment operator. More... | |
virtual NearestNeighborQueryResult< T, N > | Nearest (const Vector< double, N > &pt, const NearestNeighborDistanceFunc< T, N > &distanceFunc) const =0 |
Detailed Description
template<typename T, size_t N>
class CubbyFlow::NearestNeighborQueryEngine< T, N >
Abstract base class for N-D nearest neighbor query engine.
Constructor & Destructor Documentation
◆ NearestNeighborQueryEngine() [1/3]
template<typename T, size_t N>
|
default |
Default constructor.
◆ ~NearestNeighborQueryEngine()
template<typename T, size_t N>
|
virtualdefault |
Default virtual destructor.
◆ NearestNeighborQueryEngine() [2/3]
template<typename T, size_t N>
|
default |
Default copy constructor.
◆ NearestNeighborQueryEngine() [3/3]
template<typename T, size_t N>
|
defaultnoexcept |
Default move constructor.
Member Function Documentation
◆ Nearest()
template<typename T, size_t N>
|
pure virtual |
Returns the nearest neighbor for given point and distance measure function.
Implemented in CubbyFlow::ListQueryEngine< T, N >, CubbyFlow::BVH< T, N >, CubbyFlow::BVH< std::shared_ptr< CubbyFlow::Surface< N > >, N >, CubbyFlow::BVH< std::shared_ptr< CubbyFlow::ImplicitSurface< N > >, N >, and CubbyFlow::BVH< size_t >.
◆ operator=() [1/2]
template<typename T, size_t N>
|
default |
Default copy assignment operator.
◆ operator=() [2/2]
template<typename T, size_t N>
|
defaultnoexcept |
Default move assignment operator.
The documentation for this class was generated from the following file:
- Core/QueryEngine/NearestNeighborQueryEngine.hpp