#include "faces_first.h" #include #include template IGL_INLINE void igl::faces_first( const MatV & V, const MatF & F, MatV & RV, MatF & RF, VecI & IM) { assert(&V != &RV); assert(&F != &RF); using namespace std; using namespace Eigen; vector in_face(V.rows()); for(int i = 0; i IGL_INLINE void igl::faces_first( MatV & V, MatF & F, VecI & IM) { MatV RV; // Copying F may not be needed, seems RF = F is safe (whereas RV = V is not) MatF RF; igl::faces_first(V,F,RV,RF,IM); V = RV; F = RF; } #ifndef IGL_HEADER_ONLY // Explicit template specialization template void igl::faces_first, Eigen::Matrix, Eigen::Matrix >(Eigen::Matrix&, Eigen::Matrix&, Eigen::Matrix&); #endif