tesseract
3.05.02
|
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 122 of file kdtree.cpp.
Definition at line 141 of file kdtree.cpp.
KDTreeSearch::~KDTreeSearch | ( | ) |
Definition at line 149 of file kdtree.cpp.
void KDTreeSearch::Search | ( | int * | result_count, |
FLOAT32 * | distances, | ||
void ** | results | ||
) |
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 156 of file kdtree.cpp.