58 #define RootOf(T) ((T)->Root.Left->Data) 71 int *NumberOfResults,
void **NBuffer,
FLOAT32 DBuffer[]);
void Walk(KDTREE *tree, void_proc action, void *context, KDNODE *SubTree, inT32 Level)
void FreeKDTree(KDTREE *Tree)
FLOAT32 DistanceSquared(int k, PARAM_DESC *dim, FLOAT32 p1[], FLOAT32 p2[])
void FreeSubTree(KDNODE *SubTree)
FLOAT32 TESS_API ComputeDistance(int k, PARAM_DESC *dim, FLOAT32 p1[], FLOAT32 p2[])
KDNODE * MakeKDNode(KDTREE *tree, FLOAT32 Key[], void *Data, int Index)
void KDStore(KDTREE *Tree, FLOAT32 *Key, void *Data)
int QueryInSearch(KDTREE *tree)
KDTREE * MakeKDTree(inT16 KeySize, const PARAM_DESC KeyDesc[])
void InsertNodes(KDTREE *tree, KDNODE *nodes)
void KDDelete(KDTREE *Tree, FLOAT32 Key[], void *Data)
void FreeKDNode(KDNODE *Node)
void KDNearestNeighborSearch(KDTREE *Tree, FLOAT32 Query[], int QuerySize, FLOAT32 MaxDistance, int *NumberOfResults, void **NBuffer, FLOAT32 DBuffer[])
void KDWalk(KDTREE *Tree, void_proc Action, void *context)