8#ifndef IGL_AVERAGE_ONTO_FACES_H
9#define IGL_AVERAGE_ONTO_FACES_H
20 template <
typename DerivedF,
typename DerivedS,
typename DerivedSF>
22 const Eigen::MatrixBase<DerivedF> & F,
23 const Eigen::MatrixBase<DerivedS> & S,
24 Eigen::PlainObjectBase<DerivedSF> & SF);
27#ifndef IGL_STATIC_LIBRARY
28# include "average_onto_faces.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void average_onto_faces(const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedS > &S, Eigen::PlainObjectBase< DerivedSF > &SF)
Move a scalar field defined on vertices to faces by averaging.