about octree
Posted: Mon Mar 27, 2017 2:28 am
when I read your DgmOctree .cpp code ,I found a variable called maxDiagFactor (double maxDiagFactor = squareRadius + (0.75*cs + SQRT_3*radius)*cs;)
and It decides whether the cell is in totally inside or outside ((cellCenter -query_point).norm2d() <= maxDiagFactor),I wonder how does the maxDiagFactor is defined !is it an experienced value?
and It decides whether the cell is in totally inside or outside ((cellCenter -query_point).norm2d() <= maxDiagFactor),I wonder how does the maxDiagFactor is defined !is it an experienced value?