kd_split.h File Reference

#include "kd_tree.h"

Go to the source code of this file.

Functions

void fair_split (ANNpointArray pa, ANNidxArray pidx, const ANNorthRect &bnds, int n, int dim, int &cut_dim, ANNcoord &cut_val, int &n_lo)
void kd_split (ANNpointArray pa, ANNidxArray pidx, const ANNorthRect &bnds, int n, int dim, int &cut_dim, ANNcoord &cut_val, int &n_lo)
void midpt_split (ANNpointArray pa, ANNidxArray pidx, const ANNorthRect &bnds, int n, int dim, int &cut_dim, ANNcoord &cut_val, int &n_lo)
void sl_fair_split (ANNpointArray pa, ANNidxArray pidx, const ANNorthRect &bnds, int n, int dim, int &cut_dim, ANNcoord &cut_val, int &n_lo)
void sl_midpt_split (ANNpointArray pa, ANNidxArray pidx, const ANNorthRect &bnds, int n, int dim, int &cut_dim, ANNcoord &cut_val, int &n_lo)

Function Documentation

void fair_split ( ANNpointArray  pa,
ANNidxArray  pidx,
const ANNorthRect bnds,
int  n,
int  dim,
int &  cut_dim,
ANNcoord cut_val,
int &  n_lo 
)
void kd_split ( ANNpointArray  pa,
ANNidxArray  pidx,
const ANNorthRect bnds,
int  n,
int  dim,
int &  cut_dim,
ANNcoord cut_val,
int &  n_lo 
)

Definition at line 44 of file kd_split.cpp.

References annMaxSpread(), and annMedianSplit().

Referenced by ANNbd_tree::ANNbd_tree(), and ANNkd_tree::ANNkd_tree().

void midpt_split ( ANNpointArray  pa,
ANNidxArray  pidx,
const ANNorthRect bnds,
int  n,
int  dim,
int &  cut_dim,
ANNcoord cut_val,
int &  n_lo 
)
void sl_fair_split ( ANNpointArray  pa,
ANNidxArray  pidx,
const ANNorthRect bnds,
int  n,
int  dim,
int &  cut_dim,
ANNcoord cut_val,
int &  n_lo 
)
void sl_midpt_split ( ANNpointArray  pa,
ANNidxArray  pidx,
const ANNorthRect bnds,
int  n,
int  dim,
int &  cut_dim,
ANNcoord cut_val,
int &  n_lo 
)

Generated on Wed Nov 23 19:01:17 2011 for FreeCAD by  doxygen 1.6.1