open3d.geometry.KDTreeSearchParamKNN#

class open3d.geometry.KDTreeSearchParamKNN#

KDTree search parameters for pure KNN search.

class Type#

Enum class for Geometry types.

HybridSearch = <Type.HybridSearch: 2>#
KNNSearch = <Type.KNNSearch: 0>#
RadiusSearch = <Type.RadiusSearch: 1>#
property value#
__init__(self: open3d.cpu.pybind.geometry.KDTreeSearchParamKNN, knn: int = 30) None#
get_search_type(self)#

Get the search type (KNN, Radius, Hybrid) for the search parameter.

Returns:

open3d.geometry.KDTreeSearchParam.SearchType

HybridSearch = <Type.HybridSearch: 2>#
KNNSearch = <Type.KNNSearch: 0>#
RadiusSearch = <Type.RadiusSearch: 1>#
property knn#

Number of the neighbors that will be searched.