Browse Source

moveFV --> average_onto_vertices

Former-commit-id: 7fe2466cc55f2c612a88687992c36fbecf5f5d84
Alec Jacobson 11 years ago
parent
commit
5a43e5ea56

+ 2 - 2
include/igl/moveFV.cpp → include/igl/average_onto_vertices.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 "moveFV.h"
+#include "average_onto_vertices.h"
 
 template <typename T, typename I>
-IGL_INLINE void igl::moveFV(const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> &V,
+IGL_INLINE void igl::average_onto_vertices(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> &SV)

+ 5 - 5
include/igl/moveFV.h → include/igl/average_onto_vertices.h

@@ -5,14 +5,14 @@
 // 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_MOVEFV_H
-#define IGL_MOVEFV_H
+#ifndef IGL_AVERAGE_ONTO_VERTICES_H
+#define IGL_AVERAGE_ONTO_VERTICES_H
 #include "igl_inline.h"
 
 #include <Eigen/Dense>
 namespace igl 
 {
-  // moveFV 
+  // average_onto_vertices 
   // Move a scalar field defined on faces to vertices by averaging
   //
   // Input:
@@ -22,7 +22,7 @@ namespace igl
   // Output:
   // SV: scalar field defined on vertices
   template <typename T, typename I>
-  IGL_INLINE void moveFV(
+  IGL_INLINE void average_onto_vertices(
     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 "moveFV.cpp"
+#  include "average_onto_vertices.cpp"
 #endif
 
 #endif

+ 1 - 1
include/igl/moveVF.h

@@ -12,7 +12,7 @@
 #include <Eigen/Dense>
 namespace igl 
 {
-  // moveFV 
+  // average_onto_vertices 
   // Move a scalar field defined on faces to vertices by averaging
   //
   // Input:

+ 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, moveFV
+  // See also: moveVF, average_onto_vertices
   //
   // This function has been developed by: Nikolas De Giorgis, Luigi Rocca and Enrico Puppo.
   // The algorithm is based on: