ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
contrib_nns.cpp
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#include "
ml/contrib/contrib_nns.h
"
9
10
#include "
pybind/cloudViewer_pybind.h
"
11
#include "
pybind/docstring.h
"
12
#include "
pybind/ml/contrib/contrib.h
"
13
#include "
pybind/pybind_utils.h
"
14
15
namespace
cloudViewer
{
16
namespace
ml {
17
namespace
contrib {
18
19
void
pybind_contrib_nns
(py::module& m_contrib) {
20
m_contrib.def(
"knn_search"
, &
KnnSearch
,
"query_points"
_a,
21
"dataset_points"
_a,
"knn"
_a);
22
m_contrib.def(
"radius_search"
, &
RadiusSearch
,
"query_points"
_a,
23
"dataset_points"
_a,
"query_batches"
_a,
"dataset_batches"
_a,
24
"radius"
_a);
25
}
26
27
}
// namespace contrib
28
}
// namespace ml
29
}
// namespace cloudViewer
cloudViewer_pybind.h
contrib.h
contrib_nns.h
docstring.h
cloudViewer::ml::contrib::RadiusSearch
const core::Tensor RadiusSearch(const core::Tensor &query_points, const core::Tensor &dataset_points, const core::Tensor &query_batches, const core::Tensor &dataset_batches, double radius)
Definition:
contrib_nns.cpp:51
cloudViewer::ml::contrib::pybind_contrib_nns
void pybind_contrib_nns(py::module &m_contrib)
Definition:
contrib_nns.cpp:19
cloudViewer::ml::contrib::KnnSearch
const core::Tensor KnnSearch(const core::Tensor &query_points, const core::Tensor &dataset_points, int knn)
Definition:
contrib_nns.cpp:18
cloudViewer
Generic file read and write utility for python interface.
Definition:
AutoSegmentationTools.h:16
pybind_utils.h
libs
Python
pybind
ml
contrib
contrib_nns.cpp
Generated on Wed Jan 28 2026 09:00:55 for ACloudViewer by
1.9.1