edgetopology.h 627 B

1234567891011121314151617181920212223242526272829
  1. #ifndef IGL_EDGETOPOLOGY_H
  2. #define IGL_EDGETOPOLOGY_H
  3. #include "igl_inline.h"
  4. #include <Eigen/Core>
  5. #include <vector>
  6. namespace igl
  7. {
  8. // Initialize Edges and their topological relations
  9. // Output:
  10. // EV : #Ex2, Stores the edge description as pair of indices to vertices
  11. // FE : #Fx3, Stores the Triangle-Edge relation
  12. // EF : #Ex2: Stores the Edge-Triangle relation
  13. IGL_INLINE void edgetopology(
  14. const Eigen::MatrixXd& V,
  15. const Eigen::MatrixXi& F,
  16. Eigen::MatrixXi& EV,
  17. Eigen::MatrixXi& FE,
  18. Eigen::MatrixXi& EF);
  19. }
  20. #ifdef IGL_HEADER_ONLY
  21. # include "edgetopology.cpp"
  22. #endif
  23. #endif