update
This commit is contained in:
@@ -152,9 +152,15 @@ class ReconstructionUtil:
|
||||
|
||||
@staticmethod
|
||||
def check_scan_points_overlap(history_indices, indices2, threshold=5):
|
||||
for indices1 in history_indices:
|
||||
if len(set(indices1).intersection(set(indices2))) >= threshold:
|
||||
return True
|
||||
try:
|
||||
if len(indices2) == 0:
|
||||
return False
|
||||
for indices1 in history_indices:
|
||||
if len(set(indices1).intersection(set(indices2))) >= threshold:
|
||||
return True
|
||||
except Exception as e:
|
||||
print(e)
|
||||
import ipdb; ipdb.set_trace()
|
||||
return False
|
||||
|
||||
|
Reference in New Issue
Block a user