Ver código fonte

further warning that Hausdorff is not correct

Former-commit-id: 85945e5c1e1d324ec81bdf73445925410718a510
Alec Jacobson 8 anos atrás
pai
commit
18d2ac358f
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      include/igl/hausdorff.h

+ 5 - 1
include/igl/hausdorff.h

@@ -22,7 +22,11 @@ namespace igl
   // Known issue: This is only computing max(min(va,B),min(vb,A)). This is
   // better than max(min(va,Vb),min(vb,Va)). This (at least) is missing
   // "edge-edge" cases like the distance between the two different
-  // triangulations of a non-planar quad in 3D.
+  // triangulations of a non-planar quad in 3D. Even simpler, consider the
+  // Hausdorff distance between the non-convex, block letter V polygon (with 7
+  // vertices) in 2D and its convex hull. The Hausdorff distance is defined by
+  // the midpoint in the middle of the segment across the concavity and some
+  // non-vertex point _on the edge_ of the V.
   //
   // Inputs:
   //   VA  #VA by 3 list of vertex positions