|
tesseract
5.0.0-alpha-619-ge9db
|
Public Member Functions | |
| KDTreeSearch (KDTREE *tree, float *query_point, int k_closest) | |
| ~KDTreeSearch () | |
| void | Search (int *result_count, float *distances, void **results) |
Helper class for searching for the k closest points to query_point in tree.
Definition at line 119 of file kdtree.cpp.
| KDTreeSearch::KDTreeSearch | ( | KDTREE * | tree, |
| float * | query_point, | ||
| int | k_closest | ||
| ) |
Definition at line 138 of file kdtree.cpp.
| KDTreeSearch::~KDTreeSearch | ( | ) |
Definition at line 144 of file kdtree.cpp.
| void KDTreeSearch::Search | ( | int * | result_count, |
| float * | 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 151 of file kdtree.cpp.