Browse Source

moveVF --> average_onto_faces

Former-commit-id: 98e3dc6a1121a4e7f3ffd0a5fb378b068d9fa5fa
Alec Jacobson 11 năm trước cách đây
mục cha
commit
62a1fc9819

+ 2 - 2
include/igl/moveVF.cpp → include/igl/average_onto_faces.cpp

@@ -5,10 +5,10 @@
 // This Source Code Form is subject to the terms of the Mozilla Public License 
 // v. 2.0. If a copy of the MPL was not distributed with this file, You can 
 // obtain one at http://mozilla.org/MPL/2.0/.
-#include "moveVF.h"
+#include "average_onto_faces.h"
 
 template <typename T, typename I>
-IGL_INLINE void igl::moveVF(const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> &V,
+IGL_INLINE void igl::average_onto_faces(const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> &V,
             const Eigen::Matrix<I, Eigen::Dynamic, Eigen::Dynamic> &F,
             const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> &S,
             Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> &SF)

+ 4 - 4
include/igl/moveVF.h → include/igl/average_onto_faces.h

@@ -5,8 +5,8 @@
 // This Source Code Form is subject to the terms of the Mozilla Public License 
 // v. 2.0. If a copy of the MPL was not distributed with this file, You can 
 // obtain one at http://mozilla.org/MPL/2.0/.
-#ifndef IGL_MOVEVF_H
-#define IGL_MOVEVF_H
+#ifndef IGL_AVERAGE_ONTO_FACES_H
+#define IGL_AVERAGE_ONTO_FACES_H
 #include "igl_inline.h"
 
 #include <Eigen/Dense>
@@ -22,7 +22,7 @@ namespace igl
   // Output:
   // SV: scalar field defined on faces
   template <typename T, typename I>
-  IGL_INLINE void moveVF(
+  IGL_INLINE void average_onto_faces(
     const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> &V,
     const Eigen::Matrix<I, Eigen::Dynamic, Eigen::Dynamic> &F,
     const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> &S,
@@ -30,7 +30,7 @@ namespace igl
 }
 
 #ifndef IGL_STATIC_LIBRARY
-#  include "moveVF.cpp"
+#  include "average_onto_faces.cpp"
 #endif
 
 #endif

+ 1 - 1
include/igl/principal_curvature.h

@@ -38,7 +38,7 @@ namespace igl
   //   PV1 #V by 1 maximal curvature value for each vertex.
   //   PV2 #V by 1 minimal curvature value for each vertex.
   //
-  // See also: moveVF, average_onto_vertices
+  // See also: average_onto_faces, average_onto_vertices
   //
   // This function has been developed by: Nikolas De Giorgis, Luigi Rocca and Enrico Puppo.
   // The algorithm is based on: