Files
Table-Python/helper.py
T
DuOtto 1d63671fad idk
2025-07-17 21:54:45 +02:00

7 lines
132 B
Python

import numpy as np
# ----- Helper Functions -----
def compute_distance(p1, p2):
return np.hypot(p2[0] - p1[0], p2[1] - p1[1])