geometry
distance(coords1, coords2)
Calculate Euclidian distance between two (arrays of) points Arguments can either be singular points with shape (M,), arrays of points with shape (N, M) or a combination of both.
get_angle(x, y, origin=(0, 0))
Calculate angle between the line (x,y)-origin and the x-axis.
get_center(coords)
Calculates the center point of a set of coordinates.
get_normal(points, centroid=None)
Calculate the best-fitting plane (normal)
get_rotation_matrix(normal)
Calculate the rotation matrix to align the normal with the z-axis.
project_to_plane(coords, rotation_matrix, point)
Project coordinates onto a plane by using a certain rotation matrix.