open3d.geometry.KDTreeFlann

class open3d.geometry.KDTreeFlann

KDTree with FLANN for nearest neighbor search.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: open3d.geometry.KDTreeFlann) -> None

  2. __init__(self: open3d.geometry.KDTreeFlann, data: numpy.ndarray[float64[m, n]]) -> None

  3. __init__(self: open3d.geometry.KDTreeFlann, geometry: open3d.geometry.Geometry) -> None

  4. __init__(self: open3d.geometry.KDTreeFlann, feature: open3d::registration::Feature) -> None

search_hybrid_vector_3d(self, query, radius, max_nn)
Parameters
  • query (numpy.ndarray[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, query, radius, max_nn)
Parameters
  • query (numpy.ndarray[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, query, knn)
Parameters
  • query (numpy.ndarray[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, query, knn)
Parameters
  • query (numpy.ndarray[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, query, radius)
Parameters
  • query (numpy.ndarray[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, query, radius)
Parameters
  • query (numpy.ndarray[float64[m, 1]]) – The input query point.

  • radius (float) – Search radius.

Returns

Tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]

search_vector_3d(self, query, search_param)
Parameters
Returns

Tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]

search_vector_xd(self, query, search_param)
Parameters
Returns

Tuple[int, open3d.utility.IntVector, open3d.utility.DoubleVector]

set_feature(self, feature)
Parameters

feature (open3d.registration.Feature) – Feature data.

Returns

bool

set_geometry(self, geometry)
Parameters

geometry (open3d.geometry.Geometry) –

Returns

bool

set_matrix_data(self, data)
Parameters

data (numpy.ndarray[float64[m, n]]) – Matrix data.

Returns

bool