open3d.geometry.KDTreeSearchParamKNN

class open3d.geometry.KDTreeSearchParamKNN

KDTree search parameters for pure KNN search.

class Type

Enum class for Geometry types.

HybridSearch = Type.HybridSearch
KNNSearch = Type.KNNSearch
RadiusSearch = Type.RadiusSearch
__init__(self: open3d.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
KNNSearch = Type.KNNSearch
RadiusSearch = Type.RadiusSearch
property knn

knn neighbors will be searched.