1%feature("docstring") OT::KDTree
2"Partition tree data structure.
3
4Allows to store and search points fast.
5
6Available constructors:
7    KDTree(*sample*)
8
9Parameters
10----------
11sample : 2-d sequence of float
12    Points.
13
14See also
15--------
16NearestNeighbourAlgorithm
17
18Examples
19--------
20>>> import openturns as ot
21>>> sample = ot.Normal(2).getSample(10)
22>>> tree = ot.KDTree(sample)
23>>> neighbour = sample[tree.query([0.1, 0.2])]"
24