Template Function lvr2::visitLocalVertexNeighborhood
Defined in File GeometryAlgorithms.hpp
Function Documentation
-
template<typename BaseVecT, typename VisitorF>
void lvr2::visitLocalVertexNeighborhood(const BaseMesh<BaseVecT> &mesh, VertexHandle vH, double radius, VisitorF visitor) Visits every vertex in the local neighborhood of
vH.The local neighborhood is defined as all vertices that are connected to
vHand where the “path” in between those vertices only contains vertices that are no further away fromvHthanradius.For every such vertex in the local neighborhood (not
vHitself!) the givenvisitoris called exactly once.