Sfoglia il codice sorgente

fix marker documentation [ci skip]

Alec Jacobson 2 anni fa
parent
commit
c01718d0b4
1 ha cambiato i file con 5 aggiunte e 7 eliminazioni
  1. 5 7
      include/igl/triangle/triangulate.h

+ 5 - 7
include/igl/triangle/triangulate.h

@@ -40,22 +40,20 @@ namespace igl
       const std::string flags,
       const std::string flags,
       Eigen::PlainObjectBase<DerivedV2> & V2,
       Eigen::PlainObjectBase<DerivedV2> & V2,
       Eigen::PlainObjectBase<DerivedF2> & F2);
       Eigen::PlainObjectBase<DerivedF2> & F2);
-        
-		// Triangulate the interior of a polygon using the triangle library.
     //
     //
     // Inputs:
     // Inputs:
     //   V #V by 2 list of 2D vertex positions
     //   V #V by 2 list of 2D vertex positions
     //   E #E by 2 list of vertex ids forming unoriented edges of the boundary of the polygon
     //   E #E by 2 list of vertex ids forming unoriented edges of the boundary of the polygon
     //   H #H by 2 coordinates of points contained inside holes of the polygon
     //   H #H by 2 coordinates of points contained inside holes of the polygon
-		//   M #V list of markers for input vertices
+    //   VM #V list of markers for input vertices
+    //   EM #E list of markers for input edges
     //   flags  string of options pass to triangle (see triangle documentation)
     //   flags  string of options pass to triangle (see triangle documentation)
     // Outputs:
     // Outputs:
     //   V2  #V2 by 2  coordinates of the vertives of the generated triangulation
     //   V2  #V2 by 2  coordinates of the vertives of the generated triangulation
     //   F2  #F2 by 3  list of indices forming the faces of the generated triangulation
     //   F2  #F2 by 3  list of indices forming the faces of the generated triangulation
-		//   M2  #V2 list of markers for output vertices
-    //
-    // TODO: expose the option to prevent Steiner points on the boundary
-    //
+    //   VM2  #V2 list of markers for output vertices
+    //   E2  #E2 by 2 list of output edges
+    //   EM2  #E2 list of markers for output edges
     template <
     template <
       typename DerivedV,
       typename DerivedV,
       typename DerivedE,
       typename DerivedE,