pointcloudset.geometry.point module¶
Utility functions for geometric calculations with points.
- pointcloudset.geometry.point.distance_to_point(point_a: ndarray, point_b: ndarray) float ¶
Calculate the Euclidean distance of a point to another point.
- Parameters
point_a (numpy.ndarray) – [x, y, z]
point_b (numpy.ndarray) – [x, y, z]
- Returns
Euclidean distance between two points.
- Return type
- Raises
ValueError – If any of the two points does not have 3 values.