Go to the source code of this file.
◆ PointCloudFindNeighborsxt()
void* PointCloudFindNeighborsxt |
( |
void * |
vpthread_handle | ) |
|
Definition at line 8 of file PointCloudFindNeighborsxt.cpp.
25 num_threads=handle->
num;
41 already=xNewZeroInit<bool>(nods);
50 if (my_thread==0 && fmod((
double)i,(
double)100)==0)
51 _printf_(
"\r loop progress: "<<setw(6)<<setprecision(2)<<
double(i-i0)/
double(i1-i0)*100<<
"% ");
53 distance=mindistance+100;
58 distance=sqrt(pow(x[i]-x[j],2)+ pow(y[i]-y[j],2));
60 if(distance<=mindistance){
72 _printf_(
"\r loop progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<
"% \n");
75 xDelete<bool>(already);