123456789101112131415161718192021222324252627 |
- #ifndef IGL_ALL_EDGES_H
- #define IGL_ALL_EDGES_H
- #include "igl_inline.h"
- #include <Eigen/Dense>
- namespace igl
- {
- // ALL_EDGES Determines all "directed edges" of a given set of simplices
- //
- // Inputs:
- // F #F by simplex_size list of "faces"
- // Outputs:
- // E #E by simplex_size-1 list of edges
- //
- // Note: this is not the same as igl::edges because this includes every
- // directed edge including repeats (meaning interior edges on a surface will
- // show up once for each direction and non-manifold edges may appear more than
- // once for each direction).
- IGL_INLINE void all_edges(
- const Eigen::MatrixXi & F,
- Eigen::MatrixXi & E);
- }
- #ifdef IGL_HEADER_ONLY
- # include "all_edges.cpp"
- #endif
- #endif
|