open3d.geometry.KDTreeFlann#
- class open3d.geometry.KDTreeFlann#
KDTree with FLANN for nearest neighbor search.
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.geometry.KDTreeFlann) -> None
__init__(self: open3d.geometry.KDTreeFlann, data: numpy.ndarray[numpy.float64[m, n]]) -> None
__init__(self: open3d.geometry.KDTreeFlann, geometry: open3d.geometry.Geometry) -> None
__init__(self: open3d.geometry.KDTreeFlann, feature: open3d.pipelines.registration.Feature) -> None
- search_hybrid_vector_3d(self: open3d.geometry.KDTreeFlann, query: numpy.ndarray[numpy.float64[3, 1]], radius: float, max_nn: int) tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector] #
- Parameters:
query (numpy.ndarray[numpy.float64[3, 1]]) – The input query point.
radius (float) – Search radius.
max_nn (int) – At maximum,
max_nn
neighbors will be searched.
- Returns:
tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]
- search_hybrid_vector_xd(self: open3d.geometry.KDTreeFlann, query: numpy.ndarray[numpy.float64[m, 1]], radius: float, max_nn: int) tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector] #
- Parameters:
query (numpy.ndarray[numpy.float64[m, 1]]) – The input query point.
radius (float) – Search radius.
max_nn (int) – At maximum,
max_nn
neighbors will be searched.
- Returns:
tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]
- search_knn_vector_3d(self: open3d.geometry.KDTreeFlann, query: numpy.ndarray[numpy.float64[3, 1]], knn: int) tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector] #
- Parameters:
query (numpy.ndarray[numpy.float64[3, 1]]) – The input query point.
knn (int) –
knn
neighbors will be searched.
- Returns:
tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]
- search_knn_vector_xd(self: open3d.geometry.KDTreeFlann, query: numpy.ndarray[numpy.float64[m, 1]], knn: int) tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector] #
- Parameters:
query (numpy.ndarray[numpy.float64[m, 1]]) – The input query point.
knn (int) –
knn
neighbors will be searched.
- Returns:
tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]
- search_radius_vector_3d(self: open3d.geometry.KDTreeFlann, query: numpy.ndarray[numpy.float64[3, 1]], radius: float) tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector] #
- Parameters:
query (numpy.ndarray[numpy.float64[3, 1]]) – The input query point.
radius (float) – Search radius.
- Returns:
tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]
- search_radius_vector_xd(self: open3d.geometry.KDTreeFlann, query: numpy.ndarray[numpy.float64[m, 1]], radius: float) tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector] #
- Parameters:
query (numpy.ndarray[numpy.float64[m, 1]]) – The input query point.
radius (float) – Search radius.
- Returns:
tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]
- search_vector_3d(self: open3d.geometry.KDTreeFlann, query: numpy.ndarray[numpy.float64[3, 1]], search_param: open3d.geometry.KDTreeSearchParam) tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector] #
- Parameters:
query (numpy.ndarray[numpy.float64[3, 1]]) – The input query point.
search_param (open3d.geometry.KDTreeSearchParam) –
- Returns:
tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]
- search_vector_xd(self: open3d.geometry.KDTreeFlann, query: numpy.ndarray[numpy.float64[m, 1]], search_param: open3d.geometry.KDTreeSearchParam) tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector] #
- Parameters:
query (numpy.ndarray[numpy.float64[m, 1]]) – The input query point.
search_param (open3d.geometry.KDTreeSearchParam) –
- Returns:
tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]
- set_feature(self: open3d.geometry.KDTreeFlann, feature: open3d.pipelines.registration.Feature) bool #
Sets the data for the KDTree from the feature data.
- Parameters:
feature (open3d.pipelines.registration.Feature) – Feature data.
- Returns:
bool
- set_geometry(self: open3d.geometry.KDTreeFlann, geometry: open3d.geometry.Geometry) bool #
Sets the data for the KDTree from geometry.
- Parameters:
geometry (open3d.geometry.Geometry) –
- Returns:
bool
- set_matrix_data(self: open3d.geometry.KDTreeFlann, data: numpy.ndarray[numpy.float64[m, n]]) bool #
Sets the data for the KDTree from a matrix.
- Parameters:
data (numpy.ndarray[numpy.float64[m, n]]) – Matrix data.
- Returns:
bool