#ifndef IGL_BFS_ORIENT_H #define IGL_BFS_ORIENT_H #include #include namespace igl { // Consistently orient faces in orientable patches using BFS // // F = bfs_orient(F,V); // // Inputs: // F #F by 3 list of faces // Outputs: // FF #F by 3 list of faces (OK if same as F) // C #F list of component ids // // template void bfs_orient( const Eigen::PlainObjectBase & F, Eigen::PlainObjectBase & FF, Eigen::PlainObjectBase & C); }; #ifdef IGL_HEADER_ONLY # include "bfs_orient.cpp" #endif #endif