Dynamic dimensions

Willi Richert w.richert at gmx.net
Fri Mar 27 18:59:45 UTC 2009


I just send the patch for a new libkdtree++ version where you don't have to 
specify the number of dimensions at compile time. I moved the template 
parameter __K to a normal KDTree argument dim.

What already works: test_kdtree.cpp. I have updated it so that you can see how 
the new version can be used.

What not yet works: The other test file and the python-bindings.

There are lots of debugging information in the output. When Paul has accepted 
the patch I will clean it and update the Python bindings.

Plz look carefully at the test_kdtree output. I have not checked every number 
in it, so there might still be some bugs there.


More information about the libkdtree-devel mailing list