瀏覽代碼

no division by area

Former-commit-id: 1ea9ba381b9aedff7629a66d86df6b3ff7b98bf1
Alec Jacobson 9 年之前
父節點
當前提交
bd57fc27aa
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      include/igl/gaussian_curvature.h

+ 4 - 1
include/igl/gaussian_curvature.h

@@ -11,12 +11,15 @@
 #include <Eigen/Core>
 namespace igl
 {
-  // Compute discrete gaussian curvature (angle deficit)
+  // Compute discrete local integral gaussian curvature (angle deficit, without
+  // averaging by local area).
+  //
   // Inputs:
   //   V  #V by 3 eigen Matrix of mesh vertex 3D positions
   //   F  #F by 3 eigen Matrix of face (triangle) indices
   // Output:
   //   K  #V by 1 eigen Matrix of discrete gaussian curvature values
+  //
   template <typename DerivedV, typename DerivedF, typename DerivedK>
   IGL_INLINE void gaussian_curvature(
     const Eigen::PlainObjectBase<DerivedV>& V,