86 std::pair<Tensor, Tensor>
KnnSearch(
const Tensor &query_points,
int knn);
100 const Tensor &query_points,
double radius);
134 void AssertNotCUDA(
const Tensor &t)
const;
bool FixedRadiusIndex(utility::optional< double > radius={})
Definition: NearestNeighborSearch.cpp:60
std::unique_ptr< FaissIndex > faiss_index_
Definition: NearestNeighborSearch.h:138
NearestNeighborSearch & operator=(const NearestNeighborSearch &)=delete
std::unique_ptr< NanoFlannIndex > nanoflann_index_
Definition: NearestNeighborSearch.h:137
std::tuple< Tensor, Tensor, Tensor > FixedRadiusSearch(const Tensor &query_points, double radius)
Definition: NearestNeighborSearch.cpp:112
std::tuple< Tensor, Tensor, Tensor > MultiRadiusSearch(const Tensor &query_points, const Tensor &radii)
Definition: NearestNeighborSearch.cpp:133
A Class for nearest neighbor search.
Definition: NearestNeighborSearch.h:44
std::pair< Tensor, Tensor > HybridSearch(const Tensor &query_points, double radius, int max_knn)
Definition: NearestNeighborSearch.cpp:154
Definition: Optional.h:54
std::pair< Tensor, Tensor > KnnSearch(const Tensor &query_points, int knn)
Definition: NearestNeighborSearch.cpp:97
Definition: PinholeCameraIntrinsic.cpp:35
~NearestNeighborSearch()
Definition: NearestNeighborSearch.cpp:36
std::unique_ptr< nns::FixedRadiusIndex > fixed_radius_index_
Definition: NearestNeighborSearch.h:139
bool HybridIndex()
Definition: NearestNeighborSearch.cpp:82
NearestNeighborSearch(const Tensor &dataset_points)
Definition: NearestNeighborSearch.h:50
bool MultiRadiusIndex()
Definition: NearestNeighborSearch.cpp:58
bool KnnIndex()
Definition: NearestNeighborSearch.cpp:43
const Tensor dataset_points_
Definition: NearestNeighborSearch.h:140