Skip to content

Commit d8d2dc9

Browse files
committed
WIP-FIX cloud2cloud component class
1 parent a460527 commit d8d2dc9

File tree

1 file changed

+3
-3
lines changed
  • src/gh/components/DF_cloud_to_cloud_distance

1 file changed

+3
-3
lines changed

src/gh/components/DF_cloud_to_cloud_distance/code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
import diffCheck.df_util
1919

20-
class CloudToMeshDistance(component):
20+
class CloudToCloudDistance(component):
2121
def RunScript(self,
2222
i_cloud_source: rg.PointCloud,
2323
i_cloud_target: rg.PointCloud,
2424

25-
) -> [float]:
25+
)
2626
"""
2727
The cloud-to-cloud component computes the distance between each point in the source point cloud and its nearest neighbour in thr target point cloud.
2828
@@ -52,7 +52,7 @@ def RunScript(self,
5252

5353

5454
if __name__ == "__main__":
55-
com = CloudToMeshDistance(component)
55+
com = CloudToCloudDistance(component)
5656
o_distances = com.RunScript(
5757
i_cloud_source,
5858
i_cloud_target

0 commit comments

Comments
 (0)