Browse Source

Update doc.

Former-commit-id: 6cdeddcedbe02b67e558eb791983e30174a681bd
Qingnan Zhou 9 năm trước cách đây
mục cha
commit
605d6d20b6

+ 4 - 0
include/igl/copyleft/cgal/propagate_winding_numbers.h

@@ -60,7 +60,11 @@ namespace igl
       // Inputs:
       //   V  #V by 3 list of vertex positions.
       //   F  #F by 3 list of triangle indices into V.
+      //   uE    #uE by 2 list of vertex_indices, represents undirected edges.
+      //   uE2E  #uE list of lists that maps uE to E. (a one-to-many map)
+      //   num_patches  number of patches
       //   P  #F list of patch ids.
+      //   num_cells    number of cells
       //   C  #P by 2 list of cell ids on each side of each patch.
       //   labels  #F list of facet labels ranging from 0 to k-1.
       // Output:

+ 14 - 0
include/igl/copyleft/cgal/relabel_small_immersed_cells.h

@@ -19,6 +19,20 @@ namespace igl
   {
     namespace cgal
     {
+      // Inputs:
+      //   V  #V by 3 list of vertex positions.
+      //   F  #F by 3 list of triangle indices into V.
+      //   num_patches  number of patches
+      //   P  #F list of patch ids.
+      //   num_cells    number of cells
+      //   C  #P by 2 list of cell ids on each side of each patch.
+      //   vol_threshold  Volume threshold, cells smaller than this
+      //                  and is completely immersed will be relabeled.
+      //
+      // In/Output:
+      //   W  #F by 2 cell labels.  W(i,0) is the label on the positive side of
+      //      face i, W(i,1) is the label on the negative side of face i.  W
+      //      will be modified in place by this method.
       template<
         typename DerivedV,
         typename DerivedF,