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

Go to the source code of this file.

Namespaces

namespace  igl
 

Enumerations

enum  igl::MassMatrixType {
  igl::MASSMATRIX_TYPE_BARYCENTRIC = 0 , igl::MASSMATRIX_TYPE_VORONOI = 1 , igl::MASSMATRIX_TYPE_FULL = 2 , igl::MASSMATRIX_TYPE_DEFAULT = 3 ,
  igl::NUM_MASSMATRIX_TYPES = 4
}
 Type of mass matrix. More...
 

Functions

template<typename DerivedV , typename DerivedF , typename Scalar >
void igl::massmatrix (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const MassMatrixType type, Eigen::SparseMatrix< Scalar > &M)
 Constructs the mass (area) matrix for a given mesh (V,F).