9#ifndef IGL_CROSS_FIELD_MISMATCH_H
10#define IGL_CROSS_FIELD_MISMATCH_H
28 template <
typename DerivedV,
typename DerivedF,
typename DerivedM>
30 const Eigen::MatrixBase<DerivedF> &F,
31 const Eigen::MatrixBase<DerivedV> &PD1,
32 const Eigen::MatrixBase<DerivedV> &PD2,
34 Eigen::PlainObjectBase<DerivedM> &mismatch);
36#ifndef IGL_STATIC_LIBRARY
37#include "cross_field_mismatch.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void cross_field_mismatch(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedV > &PD1, const Eigen::MatrixBase< DerivedV > &PD2, const bool isCombed, Eigen::PlainObjectBase< DerivedM > &mismatch)
Calculates the mismatch (integer), at each face edge, of a cross field defined on the mesh faces.