Template Function lvr2::planarClusterGrowing

Function Documentation

template<typename BaseVecT>
ClusterBiMap<FaceHandle> lvr2::planarClusterGrowing(const BaseMesh<BaseVecT> &mesh, const FaceMap<Normal<typename BaseVecT::CoordType>> &normals, float minSinAngle)

Algorithm which generates plane clusters from the given mesh.

Parameters:

minSinAngle1 - minSinAngle is the allowed difference between the sin of the angle of the starting face and all other faces in one cluster.