#include <stdlib.h>
#include <string.h>
#include "kd_tree.h"
#include "bd_tree.h"
Go to the source code of this file.
Enumerations | |
enum | ANNtreeType { KD_TREE, BD_TREE } |
Functions | |
static ANNkd_ptr | annReadDump (istream &in, ANNtreeType tree_type, ANNpointArray &the_pts, ANNidxArray &the_pidx, int &the_dim, int &the_n_pts, int &the_bkt_size, ANNpoint &the_bnd_box_lo, ANNpoint &the_bnd_box_hi) |
static ANNkd_ptr | annReadTree (istream &in, ANNtreeType tree_type, ANNidxArray the_pidx, int &next_idx) |
Variables | |
const double | EPSILON = 1E-5 |
const int | STRING_LEN = 500 |
enum ANNtreeType |
Definition at line 48 of file kd_dump.cpp.
static ANNkd_ptr annReadDump | ( | istream & | in, | |
ANNtreeType | tree_type, | |||
ANNpointArray & | the_pts, | |||
ANNidxArray & | the_pidx, | |||
int & | the_dim, | |||
int & | the_n_pts, | |||
int & | the_bkt_size, | |||
ANNpoint & | the_bnd_box_lo, | |||
ANNpoint & | the_bnd_box_hi | |||
) | [static] |
Definition at line 255 of file kd_dump.cpp.
static ANNkd_ptr annReadTree | ( | istream & | in, | |
ANNtreeType | tree_type, | |||
ANNidxArray | the_pidx, | |||
int & | next_idx | |||
) | [static] |
Definition at line 370 of file kd_dump.cpp.
const double EPSILON = 1E-5 |
Definition at line 46 of file kd_dump.cpp.
const int STRING_LEN = 500 |
Definition at line 45 of file kd_dump.cpp.