C
carl
I am looking for a kd-tree implementation that returns the set of k closest
neighbors from a point P and a specified region R. Something like this:
std::vector<MyNeighborType> neighbors;
tree->Search( P, R, neighbors ) ;
In the implementation that I have found its not possible to specify a
neighbor type. I need this because each neighbor has some unique information
that I must use in the following computations.
Any suggestions on where to find a kd-tree that returns user-specified
objects instead of basic vectors - location?
neighbors from a point P and a specified region R. Something like this:
std::vector<MyNeighborType> neighbors;
tree->Search( P, R, neighbors ) ;
In the implementation that I have found its not possible to specify a
neighbor type. I need this because each neighbor has some unique information
that I must use in the following computations.
Any suggestions on where to find a kd-tree that returns user-specified
objects instead of basic vectors - location?