libigl v2.5.0
Loading...
Searching...
No Matches
cotmatrix.h File Reference
#include "igl_inline.h"
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include "cotmatrix.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

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].