Template Function lvr2::findContours

Function Documentation

template<typename BaseVecT>
vector<vector<VertexHandle>> lvr2::findContours(BaseMesh<BaseVecT> &mesh, const ClusterBiMap<FaceHandle> &clusters, ClusterHandle clusterH)

Finds all contours of an given cluster. An contour can be an “real” boundary, so nothing is adjacent, or an boundary to another edge.

Parameters:
  • mesh – the mesh to operate on

  • clusters – map of all clusters

  • clusterH – the current cluster

Returns:

an vector which holds all contours which contains the vertices of the contour.