https://github.com/HTDerekLiu/surface_multigrid_code
Revision 2a5ce10bcc87d1ae648b298a39eec2f368b24b24 authored by HTDerekLiu on 24 May 2021, 13:03:36 UTC, committed by HTDerekLiu on 24 May 2021, 13:03:36 UTC
1 parent 5d998ed
Raw File
Tip revision: 2a5ce10bcc87d1ae648b298a39eec2f368b24b24 authored by HTDerekLiu on 24 May 2021, 13:03:36 UTC
add balloon
Tip revision: 2a5ce10
cotmatrix_dense.h
#ifndef COTMATRIX_DENSE_H
#define COTMATRIX_DENSE_H

#include <igl/cotmatrix_entries.h>

#include <Eigen/Core>

// compute cotangen laplacian based on
// "Polygon Laplacian Made Simple" [Bunge et al. 2020]
//
// Note: this outputs a dense cotmatrix, suitable for extremely small meshes
//
// Inputs:
//   V  #V by 3 list of mesh vertex positions
//   F  #F by 3 list of mesh elements 
// Outputs:
//   A  #V by #V laplacian matrix
void cotmatrix_dense(
  const Eigen::MatrixXd & V,
  const Eigen::MatrixXi & F,
  Eigen::MatrixXd & A);

#endif
back to top