Template Function lvr2::getDuplicateVertices

Function Documentation

template<typename BaseVecT>
vector<vector<VertexHandle>> lvr2::getDuplicateVertices(const BaseMesh<BaseVecT> &mesh)

Returns all handles of duplicate vertices from the given mesh.

The equality of two points is check via Point::operator==().

Returns:

duplicate vertex handles. The vertex handles for each duplicate point are stored in a seperate vector. The return value is a vector which consists of these vectors. In other words: each vector in the result vector is a set of vertex handles, which points to points with the same coordinates.