quad_edges.h 555 B

12345678910111213141516171819202122232425
  1. #ifndef IGL_QUAD_EDGES_H
  2. #define IGL_QUAD_EDGES_H
  3. #include "igl_inline.h"
  4. #include <Eigen/Core>
  5. namespace igl
  6. {
  7. /// Compute the edges of a quad mesh.
  8. ///
  9. /// @param[in] Q #Q by 4 list of quad indices into rows of some vertex list V
  10. /// @param[out] E #E by 2 list of edge indices into rows of V
  11. template <
  12. typename DerivedQ,
  13. typename DerivedE >
  14. IGL_INLINE void quad_edges(
  15. const Eigen::MatrixBase<DerivedQ> & Q,
  16. Eigen::PlainObjectBase<DerivedE> & E);
  17. }
  18. #ifndef IGL_STATIC_LIBRARY
  19. # include "quad_edges.cpp"
  20. #endif
  21. #endif