Skip to content

Commit ccc7e35

Browse files
committed
FIX: got rid of cloudtocloud away from publication
1 parent 6af7b98 commit ccc7e35

File tree

4 files changed

+11
-153
lines changed

4 files changed

+11
-153
lines changed

src/gh/components/DF_cloud_cloud_distance/code.py

Lines changed: 0 additions & 37 deletions
This file was deleted.
-2.71 KB
Binary file not shown.

src/gh/components/DF_cloud_cloud_distance/metadata.json

Lines changed: 0 additions & 112 deletions
This file was deleted.

src/gh/diffCheck/diffCheck/df_error_estimation.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,21 @@ def filter_values_based_on_valuetype(self, settings):
128128
def is_source_cloud(self):
129129
return type(self.source[0]) is diffcheck_bindings.dfb_geometry.DFPointCloud
130130

131-
132-
def df_cloud_2_df_cloud_comparison(source_list, target_list):
131+
# FIXME: ths is currently broken, we need to fix it
132+
def df_cloud_2_df_cloud_comparison(
133+
assembly: DFAssembly,
134+
df_cloud_source_list: typing.List[diffcheck_bindings.dfb_geometry.DFPointCloud],
135+
df_cloud_target_list: typing.List[diffcheck_bindings.dfb_geometry.DFPointCloud]
136+
) -> DFVizResults:
133137
"""
134138
Compute the Euclidean distance for every point of a source pcd to its
135139
closest point on a target pointcloud
136140
"""
137-
results = DFVizResults(DFAssembly())
138-
for source, target in zip(source_list, target_list):
141+
results = DFVizResults(
142+
DFAssembly(
143+
[], "cloud-cloud-dummy-dfassembly"
144+
))
145+
for source, target in zip(df_cloud_source_list, df_cloud_target_list):
139146
distances = np.asarray(source.compute_distance(target))
140147
results.add(source, target, distances)
141148

0 commit comments

Comments
 (0)