ktk.geometry.get_distances#
- get_distances(point_series1, point_series2, /)[source]#
Calculate the euclidian distance between two point series.
- Parameters:
point_series1 (ArrayLike) – Series of N points, as an Nx4 array-like of the form [[x, y, z, 1.0], …]
point_series2 (ArrayLike) – Series of N points, as an Nx4 array-like of the form [[x, y, z, 1.0], …]
- Returns:
Series of euclidian distance, as an Nx4 array of the form [[x, y, z, 0.0], …]
- Return type:
np.ndarray