8#ifndef IGL_ADD_BARYCENTER_H 
    9#define IGL_ADD_BARYCENTER_H 
   24  template <
typename Scalar, 
typename Index>
 
   26    const Eigen::PlainObjectBase<Scalar> & V,
 
   27    const Eigen::PlainObjectBase<Index> & F,
 
   28    Eigen::PlainObjectBase<Scalar> & VD,
 
   29    Eigen::PlainObjectBase<Index> & FD);
 
   33#ifndef IGL_STATIC_LIBRARY 
   34#  include "false_barycentric_subdivision.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void false_barycentric_subdivision(const Eigen::PlainObjectBase< Scalar > &V, const Eigen::PlainObjectBase< Index > &F, Eigen::PlainObjectBase< Scalar > &VD, Eigen::PlainObjectBase< Index > &FD)
Refine the mesh by adding the barycenter of each face.