https://github.com/HTDerekLiu/surface_multigrid_code
Revision d79181f2d8eb642d3bbf7b6faf95a93bf3511de0 authored by eriszhang on 08 August 2021, 01:50:25 UTC, committed by eriszhang on 08 August 2021, 01:50:25 UTC
1 parent 535fef7
Raw File
Tip revision: d79181f2d8eb642d3bbf7b6faf95a93bf3511de0 authored by eriszhang on 08 August 2021, 01:50:25 UTC
update code and rename folder
Tip revision: d79181f
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