tesseract
4.00.00dev
|
Public Member Functions | |
KDTreeSearch (KDTREE *tree, FLOAT32 *query_point, int k_closest) | |
~KDTreeSearch () | |
void | Search (int *result_count, FLOAT32 *distances, void **results) |
Helper class for searching for the k closest points to query_point in tree.
Definition at line 121 of file kdtree.cpp.
Definition at line 140 of file kdtree.cpp.
KDTreeSearch::~KDTreeSearch | ( | ) |
Definition at line 148 of file kdtree.cpp.
Return the k nearest points' data.
Locate the k_closest points to query_point_, and return their distances and data into the given buffers.
Definition at line 155 of file kdtree.cpp.