aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 0536e80bdc00229cfab31e4b63d229f43d67f820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
KDTree Wrapper
==============

A simple C++ wrapper for John Tsiombikas's kd-tree library.

```
KDTree<PointT, LabelT, Dims> kdtree;
```

PointT: 
- must contain a constructor to recieve points via a double buffer [double*]
- must have a .data() method that produces a double buffer

LabelT:
-  modifiable

Dims:
- Number of dimensions in PointT

Search methods return `ResultSet` which acts similar to an iterator with more contraints