diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-11-28 19:04:35 -0600 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-11-28 19:04:35 -0600 |
commit | 7413e6d8a870788817fd1aff80e4a472f03fab9d (patch) | |
tree | 561b19728f09b96055589b3150a88ba46d16768c /README.md | |
download | kdtree-wrapper-main.tar.xz kdtree-wrapper-main.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..0536e80 --- /dev/null +++ b/README.md @@ -0,0 +1,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
\ No newline at end of file |