aboutsummaryrefslogtreecommitdiff

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