Functions | Variables
ann_sample.cpp File Reference
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <ANN/ANN.h>
Include dependency graph for ann_sample.cpp:

Go to the source code of this file.

Functions

void getArgs (int argc, char **argv)
 
int main (int argc, char **argv)
 
void printPt (ostream &out, ANNpoint p)
 
bool readPt (istream &in, ANNpoint p)
 

Variables

istream * dataIn = NULL
 
int dim = 2
 
double eps = 0
 
int k = 1
 
int maxPts = 1000
 
istream * queryIn = NULL
 

Function Documentation

void getArgs ( int  argc,
char **  argv 
)

Definition at line 136 of file ann_sample.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 78 of file ann_sample.cpp.

void printPt ( ostream &  out,
ANNpoint  p 
)

Definition at line 69 of file ann_sample.cpp.

bool readPt ( istream &  in,
ANNpoint  p 
)

Definition at line 61 of file ann_sample.cpp.

Variable Documentation

istream* dataIn = NULL

Definition at line 58 of file ann_sample.cpp.

int dim = 2

Definition at line 54 of file ann_sample.cpp.

double eps = 0

Definition at line 55 of file ann_sample.cpp.

int k = 1

Definition at line 53 of file ann_sample.cpp.

int maxPts = 1000

Definition at line 56 of file ann_sample.cpp.

istream* queryIn = NULL

Definition at line 59 of file ann_sample.cpp.



xiaoqiang_depth_image_proc
Author(s): Xie fusheng
autogenerated on Mon Jun 10 2019 15:53:04