浏览代码

Merge pull request #889 from jimmyland/patch-3

cotmatrix appears to support tetrahedra too

Former-commit-id: bc9ca8b94241fae56a94fcb309693271773eb8cf
Alec Jacobson 6 年之前
父节点
当前提交
85ffda7ef4
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      include/igl/cotmatrix.h
  2. 1 1
      include/igl/massmatrix.h

+ 1 - 1
include/igl/cotmatrix.h

@@ -32,7 +32,7 @@ namespace igl
   //   Scalar  scalar type for eigen sparse matrix (e.g. double)
   // Inputs:
   //   V  #V by dim list of mesh vertex positions
-  //   F  #F by simplex_size list of mesh faces (must be triangles)
+  //   F  #F by simplex_size list of mesh elements (triangles or tetrahedra)
   // Outputs: 
   //   L  #V by #V cotangent matrix, each row i corresponding to V(i,:)
   //

+ 1 - 1
include/igl/massmatrix.h

@@ -35,7 +35,7 @@ namespace igl
   //   Scalar  scalar type for eigen sparse matrix (e.g. double)
   // Inputs:
   //   V  #V by dim list of mesh vertex positions
-  //   F  #F by simplex_size list of mesh faces (must be triangles)
+  //   F  #F by simplex_size list of mesh elements (triangles or tetrahedra)
   //   type  one of the following ints:
   //     MASSMATRIX_TYPE_BARYCENTRIC  barycentric
   //     MASSMATRIX_TYPE_VORONOI voronoi-hybrid {default}