#include "polygons_to_triangles.h" template < typename DerivedI, typename DerivedC, typename DerivedF, typename DerivedJ> IGL_INLINE void igl::polygons_to_triangles( const Eigen::MatrixBase & I, const Eigen::MatrixBase & C, Eigen::PlainObjectBase & F, Eigen::PlainObjectBase & J) { // Each polygon results in #sides-2 triangles. So ∑#sides-2 F.resize(C(C.size()-1) - (C.size()-1)*2,3); J.resize(F.rows()); { int f = 0; for(int p = 0;p, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::PlainObjectBase >&, Eigen::PlainObjectBase >&); // generated by autoexplicit.sh template void igl::polygons_to_triangles, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::PlainObjectBase >&, Eigen::PlainObjectBase >&); // generated by autoexplicit.sh template void igl::polygons_to_triangles, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::PlainObjectBase >&, Eigen::PlainObjectBase >&); // generated by autoexplicit.sh template void igl::polygons_to_triangles, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::PlainObjectBase >&, Eigen::PlainObjectBase >&); #endif