85 const Tensor &query_points,
const Tensor &radii)
const = 0;
98 const Tensor &query_points,
double radius)
const = 0;
111 int max_knn)
const = 0;
virtual bool SetTensorData(const Tensor &dataset_points)=0
size_t GetDatasetSize() const
Definition: NNSIndex.cpp:41
Dtype GetDtype() const
Definition: NNSIndex.cpp:46
Definition: NNSIndex.h:40
virtual ~NNSIndex()
Definition: NNSIndex.h:44
int GetDimension() const
Definition: NNSIndex.cpp:36
NNSIndex()
Default Constructor.
Definition: NNSIndex.h:43
virtual std::tuple< Tensor, Tensor, Tensor > SearchRadius(const Tensor &query_points, const Tensor &radii) const =0
virtual std::pair< Tensor, Tensor > SearchHybrid(const Tensor &query_points, float radius, int max_knn) const =0
Definition: PinholeCameraIntrinsic.cpp:35
virtual std::pair< Tensor, Tensor > SearchKnn(const Tensor &query_points, int knn) const =0
Tensor dataset_points_
Definition: NNSIndex.h:130
Device GetDevice() const
Definition: NNSIndex.cpp:48
NNSIndex & operator=(const NNSIndex &)=delete