Skip to content

Commit 462fea0

Browse files
committed
Update df_error_estimation.py
1 parent 9f8069e commit 462fea0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gh/diffCheck/diffCheck/df_error_estimation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ def cloud_2_mesh_distance(source, target):
4040

4141

4242
def point_2_mesh_distance(mesh, point):
43-
"""
43+
"""
4444
Calculate the closest distance between a point and a mesh
4545
"""
46-
pass
4746
# make a kdtree of the vertices to get the relevant vertices indexes
4847

4948
# assume smallest distance is the distance to the closest vertex
@@ -52,6 +51,7 @@ def point_2_mesh_distance(mesh, point):
5251
# query a kd tree for all the faces that intersect this box
5352

5453
# compute the closest point for the faces that we get back
54+
pass
5555

5656

5757
def point_2_face_distance(face, point):

0 commit comments

Comments
 (0)