#include "igl_inline.h"
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include "cotmatrix.cpp"
 
Go to the source code of this file.
 | 
| template<typename DerivedV , typename DerivedF , typename Scalar >  | 
| void  | igl::cotmatrix (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::SparseMatrix< Scalar > &L) | 
|   | Constructs the cotangent stiffness matrix (discrete laplacian) for a given mesh (V,F).  
  | 
|   | 
| template<typename DerivedV , typename DerivedI , typename DerivedC , typename Scalar >  | 
| void  | igl::cotmatrix (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedI > &I, const Eigen::MatrixBase< DerivedC > &C, Eigen::SparseMatrix< Scalar > &L, Eigen::SparseMatrix< Scalar > &M, Eigen::SparseMatrix< Scalar > &P) | 
|   | Cotangent Laplacian (and mass matrix) for polygon meshes according to "Polygon Laplacian Made Simple" [Bunge et al. 2020].  
  | 
|   |