|
inlineprivate |
Recursive function to search for a point in the kd_tree.
| [in] | node | recursive node. |
| [in] | point | Searched point in k d. |
| [in] | depth | recursive depth. |
Base case: If node is null, the point is not found.
If the current node matches the point, return true.
Calculate current dimension (cd).
Compare point with current node and decide to go left or right.
Definition at line 421 of file KDTree.h.
References scl::kd_tree< K >::search_recursive().
Referenced by scl::kd_tree< K >::search(), and scl::kd_tree< K >::search_recursive().