Browse Source

Merge pull request #872 from jimmyland/patch-2

fix comments for qslim.h

Former-commit-id: 1b4123f4ff93b7d46e9d7184fe98f4db989192c5
Alec Jacobson 6 năm trước cách đây
mục cha
commit
f12ffbd24e
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      include/igl/qslim.h

+ 6 - 2
include/igl/qslim.h

@@ -18,12 +18,16 @@ namespace igl
   // mesh can have open boundaries but should be edge-manifold.
   //
   // Inputs:
-  //   V  #V by dim list of vertex positions. Assumes that vertices w
+  //   V  #V by dim list of vertex positions. Assumes that vertices with
+  //     infinite coordinates are "points at infinity" being used to close up
+  //     boundary edges with faces. This allows special subspace quadrice for
+  //     boundary edges: There should never be more than one "point at
+  //     infinity" in a single triangle.
   //   F  #F by 3 list of triangle indices into V
   //   max_m  desired number of output faces
   // Outputs:
   //   U  #U by dim list of output vertex posistions (can be same ref as V)
-  //   G  #G by 3 list of output face indices into U (can be same ref as G)
+  //   G  #G by 3 list of output face indices into U (can be same ref as F)
   //   J  #G list of indices into F of birth face
   //   I  #U list of indices into V of birth vertices
   IGL_INLINE bool qslim(