Template Function lvr2::calculateClusterContourVertices
Defined in File ClusterAlgorithms.hpp
Function Documentation
-
template<typename BaseVecT>
vector<VertexHandle> lvr2::calculateClusterContourVertices(ClusterHandle clusterH, const BaseMesh<BaseVecT> &mesh, const ClusterBiMap<FaceHandle> &clusterBiMap) Calculates contour vertices for a given cluster.
Calculates the contour vertices for a given cluster. To do so, the algorithm will inspect each edge and find edges that only have one adjacent face as part of the given cluster. These edges are contour edges, so each unique vertex of such an edge will be added to the list of results.
- Parameters:
clusterH – cluster handle for given cluster
mesh – the mesh
clusterBiMap – map of clusters for given mesh