100 #ifndef USE_LIST_NODE_ALLOCATOR 101 #define USE_LIST_NODE_ALLOCATOR 1 104 #define RESTRICT __restrict__ 112 #include "NamespaceHeader.H" 297 const string &prefix);
315 Real *resultPoint,
void **resultData,
316 Real *bestDistSquared,
int const approx);
322 int *pnData,
void ***resultData);
341 Real const range,
int *ierr);
401 Real const key,
int const useListIter);
489 #ifdef USE_LIST_NODE_ALLOCATOR 533 #include "NamespaceFooter.H" int KDSetDataDestructor(KDTree *tree, void(*destr)(void *))
KDTree * KDCreate(int const k, int *ierr)
int LListIterIsNull(ListHead const *head)
Definition: KDStruct.H:78
ListHead * LListCreate(int const ordered, int *ierr)
int KDResultEnd(KDResult const *set)
int KDResultSize(KDResult const *set)
void LListDataDestructor(ListHead *head, void(*destr)(void *))
int StackPushWithKey(ListHead *head, void *data, Real const key)
Real LListKey(ListHead const *head)
int KDTreePrint(KDTree const *tree)
int LListSize(ListHead const *head)
int LListInsertFirst(ListHead *head, void *data, Real const key)
ListHead * StackCreate(int *ierr, int const prealloc)
void * StackPopWithKey(ListHead *head, Real *key, int *ierr)
int LListNext(ListHead *head)
void LListRewind(ListHead *head)
int LListAtLast(ListHead const *head)
void LListFree(ListHead *head)
KDResult * KDNearestRange(KDTree *kd, Real const *query, Real const range, int *ierr)
int KDClear(KDTree *tree)
int KDBBoxSearch(KDTree const *tree, Real const *RESTRICT xbb, int *pnData, void ***resultData)
int KDNearestNeighbor(KDTree const *tree, Real const *const queryPoint, Real *resultPoint, void **resultData, Real *bestDistSquared, int const approx)
Definition: KDStruct.H:98
int KDNodePrint(KDNode const *node, const string &prefix)
void KDResultRewind(KDResult *set)
void KDGetGlobalData(KDTree *tree, void **data)
double Real
Definition: REAL.H:33
void KDSetGlobalData(KDTree *tree, void *data)
int KDSearch(KDTree const *tree, Real const *pos, int *foundFlag)
Definition: KDStruct.H:111
int KDSetGlobalDataDestructor(KDTree *tree, void(*destr)(void *))
void * KDResultItem(KDResult const *set, Real *pos)
int LListInsert(ListHead *head, void *data, Real const key, int const useListIter)
int KDResultNext(KDResult *set)
void KDTreeFinalize(void)
int StackPush(ListHead *head, void *data)
#define RESTRICT
Definition: KDTree.H:104
void * LListItem(ListHead const *head)
int KDInsert(KDTree *tree, Real const *pos, void *data)
void KDResultFree(KDResult *set)
void * StackPop(ListHead *head, int *ierr)
void * KDResultItemData(KDResult const *set)
Definition: KDStruct.H:125
int KDExhaustiveSearch(KDTree const *tree, Real const *pos, int *numFound)
int KDTreeStatistics(KDTree const *tree)
void StackFree(ListHead *head)