Template Function lvr2::interpolatedVertexNormal
Defined in File NormalAlgorithms.hpp
Function Documentation
-
template<typename BaseVecT>
boost::optional<Normal<typename BaseVecT::CoordType>> lvr2::interpolatedVertexNormal(const BaseMesh<BaseVecT> &mesh, const FaceMap<Normal<typename BaseVecT::CoordType>> &normals, VertexHandle handle) Returns a vertex normal for the given vertex interpolated from the normals of its adjacent faces.