#include <core.hpp>
Public Member Functions | |
Node (int _idx, int _left, int _right, float _boundary) | |
Node () | |
Public Attributes | |
float | boundary |
go to the left if query_vec[node.idx]<=node.boundary, otherwise go to the right | |
int | idx |
split dimension; >=0 for nodes (dim), < 0 for leaves (index of the point) | |
int | left |
node indices of the left and the right branches | |
int | right |
The node of the search tree.
cv::KDTree::Node::Node | ( | ) | [inline] |
cv::KDTree::Node::Node | ( | int | _idx, | |
int | _left, | |||
int | _right, | |||
float | _boundary | |||
) | [inline] |
go to the left if query_vec[node.idx]<=node.boundary, otherwise go to the right
split dimension; >=0 for nodes (dim), < 0 for leaves (index of the point)
node indices of the left and the right branches