1234567891011121314151617181920212223 |
- #ifndef IGL_TRIANGLE_FAN_H
- #define IGL_TRIANGLE_FAN_H
- #include "igl_inline.h"
- #include <Eigen/Dense>
- namespace igl
- {
- // Given a list of faces tesselate all of the "exterior" edges forming another
- // list of
- //
- // Inputs:
- // E #E by simplex_size-1 list of exterior edges (see exterior_edges.h)
- // Outputs:
- // cap #cap by simplex_size list of "faces" tessleating the boundary edges
- IGL_INLINE void triangle_fan(
- const Eigen::MatrixXi & E,
- Eigen::MatrixXi & cap);
- // In-line version
- IGL_INLINE Eigen::MatrixXi triangle_fan( const Eigen::MatrixXi & E);
- }
- #ifdef IGL_HEADER_ONLY
- # include "triangle_fan.h"
- #endif
- #endif
|