73 std::pair<Tensor, Tensor>
KnnSearch(
const Tensor &query_points,
int knn);
89 const Tensor &query_points,
double radius,
bool sort =
true);
120 const int max_knn)
const;
126 void AssertNotCUDA(
const Tensor &t)
const;
A Class for nearest neighbor search.
NearestNeighborSearch & operator=(const NearestNeighborSearch &)=delete
std::tuple< Tensor, Tensor, Tensor > FixedRadiusSearch(const Tensor &query_points, double radius, bool sort=true)
std::unique_ptr< nns::KnnIndex > knn_index_
bool HybridIndex(utility::optional< double > radius={})
std::unique_ptr< nns::FixedRadiusIndex > fixed_radius_index_
const Tensor dataset_points_
bool FixedRadiusIndex(utility::optional< double > radius={})
NearestNeighborSearch(const Tensor &dataset_points, const Dtype &index_dtype=core::Int32)
NearestNeighborSearch(const NearestNeighborSearch &)=delete
std::tuple< Tensor, Tensor, Tensor > HybridSearch(const Tensor &query_points, const double radius, const int max_knn) const
std::unique_ptr< NanoFlannIndex > nanoflann_index_
std::tuple< Tensor, Tensor, Tensor > MultiRadiusSearch(const Tensor &query_points, const Tensor &radii)
std::pair< Tensor, Tensor > KnnSearch(const Tensor &query_points, int knn)
void AssertNotSYCL(const Tensor &tensor)
Generic file read and write utility for python interface.