https://github.com/HTDerekLiu/surface_multigrid_code
Revision db5c7fa56b977d3f1ac0ac11ed875f75229f2d27 authored by eriszhang on 08 August 2021, 03:27:39 UTC, committed by eriszhang on 08 August 2021, 03:27:39 UTC
1 parent d366192
Raw File
Tip revision: db5c7fa56b977d3f1ac0ac11ed875f75229f2d27 authored by eriszhang on 08 August 2021, 03:27:39 UTC
add
Tip revision: db5c7fa
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