Template Function lvr2::simplifyContour
Defined in File ClusterAlgorithms.hpp
Function Documentation
-
template<typename BaseVecT>
vector<VertexHandle> lvr2::simplifyContour(const BaseMesh<BaseVecT> &mesh, const vector<VertexHandle> &contour, float threshold) Simplifies the given contour with the Reumann-Witkam algorithm.
- Parameters:
mesh – the mesh to operate on
contour – the contour to be simplified
threshold – angle between edges / lines on one contour
- Returns:
simplified contour