#ifndef IGL_FACE_OCCURENCES #define IGL_FACE_OCCURENCES #include "igl_inline.h" #include namespace igl { // Count the occruances of each face (row) in a list of face indices // (irrespecitive of order) // Inputs: // F #F by simplex-size // Outputs // C #F list of counts // Known bug: triangles/tets only (where ignoring order still gives simplex) template IGL_INLINE void face_occurences( const std::vector > & F, std::vector & C); } #ifdef IGL_HEADER_ONLY # include "face_occurences.cpp" #endif #endif