1 #ifndef FLATNORMALTHRESHPOINTCOMPATIBILITYFUNC_HEADER
2 #define FLATNORMALTHRESHPOINTCOMPATIBILITYFUNC_HEADER
11 : m_distThresh(distThresh)
12 , m_normalThresh(normalThresh)
14 template<
class ShapeT,
class OctreeT >
19 float distance = shape.DistanceAndNormal(oct.at(i), &n);
22 return abs(n.
dot(oct.at(i).normal)) >= m_normalThresh;
29 &&
abs(normalDeviation) >= m_normalThresh;
37 return m_normalThresh;