I would like to extend a kd-tree (2D) class to be able to remove nodes (points). This removal should be conducted without having to rebuild large sections of the tree. The algorithm described in these slides, on slide 13 seems to be what I am after. However, I am trouble following the description of "findmin()" found on slide 7, which is utilized in the node removal algorithm.
Questions
What does the "i" mean on the second to last line? (Maybe this is a mistake by the author, as it is not referenced elsewhere?)
What exactly is "whichAxis"? Is it the depth of the splitting hyperplane we want to get nearest to?
What is "minimum()", minimizing? I though this would be the distance to the axis, but it looks to me like the author is minimizing the points, which doesn't make sense to me.