8#ifndef IGL_POLYGONS_TO_TRIANGLES_H 
    9#define IGL_POLYGONS_TO_TRIANGLES_H 
   34    const Eigen::MatrixBase<DerivedI> & I,
 
   35    const Eigen::MatrixBase<DerivedC> & C,
 
   36    Eigen::PlainObjectBase<DerivedF> & F,
 
   37    Eigen::PlainObjectBase<DerivedJ> & J);
 
   40#ifndef IGL_STATIC_LIBRARY 
   41#  include "polygons_to_triangles.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void polygons_to_triangles(const Eigen::MatrixBase< DerivedI > &I, const Eigen::MatrixBase< DerivedC > &C, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedJ > &J)
Given a polygon mesh, trivially triangulate each polygon with a fan.