8#ifndef IGL_POLYGONS_TO_TRIANGLES_H
9#define IGL_POLYGONS_TO_TRIANGLES_H
11#include "../igl_inline.h"
38 const Eigen::MatrixBase<DerivedV> & V,
39 const Eigen::MatrixBase<DerivedI> & I,
40 const Eigen::MatrixBase<DerivedC> & C,
41 Eigen::PlainObjectBase<DerivedF> & F,
42 Eigen::PlainObjectBase<DerivedJ> & J);
46#ifndef IGL_STATIC_LIBRARY
47# include "polygons_to_triangles.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void polygons_to_triangles(const Eigen::MatrixBase< DerivedV > &V, 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.