12345678910111213141516171819202122232425262728293031 |
- #ifndef IGL_VF_H
- #define IGL_VF_H
- #include "igl_inline.h"
- #include <Eigen/Dense>
- #include <vector>
- namespace igl
- {
- // Constructs the vertex-face topology of a given mesh (V,F)
- // Inputs:
- // V #V by 3 list of vertex coordinates
- // F #F by dim list of mesh faces (must be triangles)
- // Outputs:
- //
- //
- // See also: edges, cotmatrix, diag, vv
-
- template <typename DerivedV, typename DerivedF, typename IndexType>
- IGL_INLINE void vf(
- const Eigen::PlainObjectBase<DerivedV>& V,
- const Eigen::PlainObjectBase<DerivedF>& F,
- std::vector<std::vector<IndexType> >& VF,
- std::vector<std::vector<IndexType> >& VFi);
- }
- #ifdef IGL_HEADER_ONLY
- # include "vf.cpp"
- #endif
- #endif
|