1234567891011121314151617181920212223242526 |
- #ifndef IGL_EXTERIOR_EDGES_H
- #define IGL_EXTERIOR_EDGES_H
- #include "igl_inline.h"
- #include <Eigen/Dense>
- namespace igl
- {
- // EXTERIOR_EDGES Determines boundary "edges" and also edges with an
- // odd number of occurances where seeing edge (i,j) counts as +1 and seeing
- // the opposite edge (j,i) counts as -1
- //
- // Inputs:
- // F #F by simplex_size list of "faces"
- // Outputs:
- // E #E by simplex_size-1 list of exterior edges
- //
- IGL_INLINE void exterior_edges(
- const Eigen::MatrixXi & F,
- Eigen::MatrixXi & E);
- // Inline version
- Eigen::MatrixXi exterior_edges( const Eigen::MatrixXi & F);
- }
- #ifdef IGL_HEADER_ONLY
- # include "exterior_edges.h"
- #endif
- #endif
|