26 while(
m != mapperNBS::NoPos)
29 auto p_m = pointPos[
m];
30 auto d_m = sizeRatio* diameter[
m];
33 n = cellIter.getNext(
m);
35 while(
n != mapperNBS::NoPos)
37 auto p_n = pointPos[
n];
38 auto d_n = sizeRatio*diameter[
n];
45 if(lm>ln)
Swap(lm,ln);
46 if( pairs.insert(lm,ln) ==
static_cast<uint32>(-1))
52 n = cellIter.getNext(
n);;
57 for(
uint32 ni=0u; ni<13; ni++)
73 if( neighborCell.x()>=0 && neighborCell.y()>=0 && neighborCell.z()>=0 &&
74 neighborCell.x()<nCells.x() && neighborCell.y()<nCells.y() && neighborCell.z()<nCells.z() )
77 n = cellIter.start(neighborCell.x(), neighborCell.y(), neighborCell.z());
78 while(
n != mapperNBS::NoPos)
81 auto p_n = pointPos[
n];
82 auto d_n = sizeRatio*diameter[
n];
88 if(lm>ln)
Swap(lm,ln);
89 if( pairs.insert(lm,ln) ==
static_cast<uint32>(-1))