Forráskód Böngészése

manifold_patches --> orientable_patches

Former-commit-id: ded682884a89ef620b5790f2a8798d76cbca1335
Alec Jacobson 11 éve
szülő
commit
63e134577a

+ 2 - 2
include/igl/boost/bfs_orient.cpp

@@ -6,7 +6,7 @@
 // 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 "bfs_orient.h"
-#include "manifold_patches.h"
+#include "orientable_patches.h"
 #include <Eigen/Sparse>
 #include <queue>
 
@@ -20,7 +20,7 @@ IGL_INLINE void igl::bfs_orient(
   using namespace igl;
   using namespace std;
   SparseMatrix<int> A;
-  manifold_patches(F,C,A);
+  orientable_patches(F,C,A);
 
   // number of faces
   const int m = F.rows();

+ 3 - 3
include/igl/boost/manifold_patches.cpp → include/igl/boost/orientable_patches.cpp

@@ -5,7 +5,7 @@
 // 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 "manifold_patches.h"
+#include "orientable_patches.h"
 #include "components.h"
 #include <igl/sort.h>
 #include <igl/unique.h>
@@ -14,7 +14,7 @@
 #include <iostream>
 
 template <typename DerivedF, typename DerivedC, typename AScalar>
-IGL_INLINE void igl::manifold_patches(
+IGL_INLINE void igl::orientable_patches(
   const Eigen::PlainObjectBase<DerivedF> & F,
   Eigen::PlainObjectBase<DerivedC> & C,
   Eigen::SparseMatrix<AScalar> & A)
@@ -92,5 +92,5 @@ IGL_INLINE void igl::manifold_patches(
 
 #ifdef IGL_STATIC_LIBRARY
 // Explicit template specialization
-template void igl::manifold_patches<Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, 1, 0, -1, 1>, int>(Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, Eigen::SparseMatrix<int, 0, int>&);
+template void igl::orientable_patches<Eigen::Matrix<int, -1, -1, 0, -1, -1>, Eigen::Matrix<int, -1, 1, 0, -1, 1>, int>(Eigen::PlainObjectBase<Eigen::Matrix<int, -1, -1, 0, -1, -1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, Eigen::SparseMatrix<int, 0, int>&);
 #endif

+ 4 - 4
include/igl/boost/manifold_patches.h → include/igl/boost/orientable_patches.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_MANIFOLD_PATCHES_H
-#define IGL_MANIFOLD_PATCHES_H
+#ifndef IGL_ORIENTABLE_PATCHES_H
+#define IGL_ORIENTABLE_PATCHES_H
 #include <igl/igl_inline.h>
 #include <Eigen/Core>
 #include <Eigen/Sparse>
@@ -26,12 +26,12 @@ namespace igl
   //    A  #F by #F adjacency matrix
   // 
   template <typename DerivedF, typename DerivedC, typename AScalar>
-  IGL_INLINE void manifold_patches(
+  IGL_INLINE void orientable_patches(
     const Eigen::PlainObjectBase<DerivedF> & F,
     Eigen::PlainObjectBase<DerivedC> & C,
     Eigen::SparseMatrix<AScalar> & A);
 };
 #ifndef IGL_STATIC_LIBRARY
-#  include "manifold_patches.cpp"
+#  include "orientable_patches.cpp"
 #endif
 #endif

+ 1 - 1
include/igl/orient_outward.h

@@ -17,7 +17,7 @@ namespace igl
   // Inputs:
   //   V  #V by 3 list of vertex positions
   //   F  #F by 3 list of triangle indices
-  //   C  #F list of components (output of manifold_patches)
+  //   C  #F list of components (output of orientable_patches)
   // Outputs:
   //   FF  #F by 3 list of new triangle indices such that FF(~I,:) = F(~I,:) and
   //     FF(I,:) = fliplr(F(I,:)) (OK if &FF = &F)