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 >:
CubbyFlow::BVH< T, N > CubbyFlow::ListQueryEngine< T, N > CubbyFlow::Octree< T > CubbyFlow::Quadtree< T >

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...
 
NearestNeighborQueryEngineoperator= (const NearestNeighborQueryEngine &other)=default
 Default copy assignment operator. More...
 
NearestNeighborQueryEngineoperator= (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>
CubbyFlow::NearestNeighborQueryEngine< T, N >::NearestNeighborQueryEngine ( )
default

Default constructor.

◆ ~NearestNeighborQueryEngine()

template<typename T, size_t N>
virtual CubbyFlow::NearestNeighborQueryEngine< T, N >::~NearestNeighborQueryEngine ( )
virtualdefault

Default virtual destructor.

◆ NearestNeighborQueryEngine() [2/3]

template<typename T, size_t N>
CubbyFlow::NearestNeighborQueryEngine< T, N >::NearestNeighborQueryEngine ( const NearestNeighborQueryEngine< T, N > &  other)
default

Default copy constructor.

◆ NearestNeighborQueryEngine() [3/3]

template<typename T, size_t N>
CubbyFlow::NearestNeighborQueryEngine< T, N >::NearestNeighborQueryEngine ( NearestNeighborQueryEngine< T, N > &&  other)
defaultnoexcept

Default move constructor.

Member Function Documentation

◆ Nearest()

template<typename T, size_t N>
virtual NearestNeighborQueryResult<T, N> CubbyFlow::NearestNeighborQueryEngine< T, N >::Nearest ( const Vector< double, N > &  pt,
const NearestNeighborDistanceFunc< T, N > &  distanceFunc 
) const
pure virtual

◆ operator=() [1/2]

template<typename T, size_t N>
NearestNeighborQueryEngine& CubbyFlow::NearestNeighborQueryEngine< T, N >::operator= ( const NearestNeighborQueryEngine< T, N > &  other)
default

Default copy assignment operator.

◆ operator=() [2/2]

template<typename T, size_t N>
NearestNeighborQueryEngine& CubbyFlow::NearestNeighborQueryEngine< T, N >::operator= ( NearestNeighborQueryEngine< T, N > &&  other)
defaultnoexcept

Default move assignment operator.


The documentation for this class was generated from the following file: