Browse Source

edgetopology --> edge_topology

Former-commit-id: e19de8a38a0e895ea88cab1ebb408480b267ba05
Alec Jacobson 11 years ago
parent
commit
e4f2dc300c

+ 2 - 2
examples/basic_topology/example1.cpp

@@ -11,7 +11,7 @@
 #include <igl/read_triangle_mesh.h>
 #include <igl/write_triangle_mesh.h>
 #include <igl/triangle_triangle_adjacency.h>
-#include <igl/edgetopology.h>
+#include <igl/edge_topology.h>
 
 using namespace std;
 
@@ -44,7 +44,7 @@ int main (int argc, const char * argv[])
     Eigen::MatrixXi FE;
     Eigen::MatrixXi EF;
 
-    igl::edgetopology(V,F,EV,FE, EF);
+    igl::edge_topology(V,F,EV,FE, EF);
     cout << EV << endl << FE << endl << EF << endl;
     cout << "-------------" << endl;
 

+ 2 - 2
include/igl/comiso/frame_field.cpp

@@ -1,7 +1,7 @@
 #include "frame_field.h"
 
 #include <igl/tt.h>
-#include <igl/edgetopology.h>
+#include <igl/edge_topology.h>
 #include <igl/per_face_normals.h>
 #include <igl/comiso/nrosy.h>
 #include <iostream>
@@ -110,7 +110,7 @@ FrameInterpolator::FrameInterpolator(const Eigen::MatrixXd& _V, const Eigen::Mat
 
   // Generate topological relations
   igl::tt(V,F,TT,TTi);
-  igl::edgetopology(V,F, EV, FE, EF);
+  igl::edge_topology(V,F, EV, FE, EF);
 
   // Flag border edges
   isBorderEdge.resize(EV.rows());

+ 2 - 2
include/igl/comiso/nrosy.cpp

@@ -8,7 +8,7 @@
 
 #include <igl/comiso/nrosy.h>
 #include <igl/tt.h>
-#include <igl/edgetopology.h>
+#include <igl/edge_topology.h>
 #include <igl/per_face_normals.h>
 
 #include <iostream>
@@ -160,7 +160,7 @@ igl::NRosyField::NRosyField(const Eigen::MatrixXd& _V, const Eigen::MatrixXi& _F
 
   // Generate topological relations
   igl::tt(V,F,TT,TTi);
-  igl::edgetopology(V,F, EV, FE, EF);
+  igl::edge_topology(V,F, EV, FE, EF);
 
   // Flag border edges
   isBorderEdge.resize(EV.rows());

+ 2 - 2
include/igl/edgetopology.cpp → include/igl/edge_topology.cpp

@@ -5,12 +5,12 @@
 // 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 "edgetopology.h"
+#include "edge_topology.h"
 #include <algorithm>
 #include "is_manifold.h"
 
 
-IGL_INLINE void igl::edgetopology(
+IGL_INLINE void igl::edge_topology(
   const Eigen::MatrixXd& V, 
   const Eigen::MatrixXi& F, 
   Eigen::MatrixXi& EV, 

+ 4 - 4
include/igl/edgetopology.h → include/igl/edge_topology.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_EDGETOPOLOGY_H
-#define IGL_EDGETOPOLOGY_H
+#ifndef IGL_EDGE_TOPOLOGY_H
+#define IGL_EDGE_TOPOLOGY_H
 
 #include "igl_inline.h"
 
@@ -21,7 +21,7 @@ namespace igl
   // EV  : #Ex2, Stores the edge description as pair of indices to vertices
   // FE : #Fx3, Stores the Triangle-Edge relation
   // EF : #Ex2: Stores the Edge-Triangle relation
-  IGL_INLINE void edgetopology(
+  IGL_INLINE void edge_topology(
     const Eigen::MatrixXd& V, 
     const Eigen::MatrixXi& F, 
     Eigen::MatrixXi& EV, 
@@ -30,7 +30,7 @@ namespace igl
 }
 
 #ifndef IGL_STATIC_LIBRARY
-#  include "edgetopology.cpp"
+#  include "edge_topology.cpp"
 #endif
 
 #endif