Skip to content

Commit

Permalink
Fix metric names in comments for code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mishasweetpie authored Jan 27, 2024
1 parent c8229c5 commit b2a4919
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/sections/shape_metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ p1 = pcu.load_mesh_v("point_cloud_1.ply")
# p2 is an (m, 3)-shaped numpy array containing one point per row
p2 = pcu.load_mesh_v("point_cloud_2.ply")

# Compute the chamfer distance between p1 and p2
# Compute the hausdorff distance between p1 and p2
hd = pcu.hausdorff_distance(p1, p2)
```

Expand All @@ -61,7 +61,7 @@ p1 = pcu.load_mesh_v("point_cloud_1.ply")
# p2 is an (m, 3)-shaped numpy array containing one point per row
p2 = pcu.load_mesh_v("point_cloud_2.ply")

# Compute the chamfer distance between p1 and p2
# Compute the one sided hausdorff distance between p1 and p2
hd_p1_to_p2 = pcu.one_sided_hausdorff_distance(p1, p2)
```

Expand All @@ -85,6 +85,6 @@ p1 = pcu.load_mesh_v("point_cloud_1.ply")
# p2 is an (m, 3)-shaped numpy array containing one point per row
p2 = pcu.load_mesh_v("point_cloud_2.ply")

# Compute the chamfer distance between p1 and p2
# Compute the earth-mover's distance between p1 and p2
emd, pi = pcu.earth_movers_distance(p1, p2)
```

0 comments on commit b2a4919

Please sign in to comment.