mymesh.register.transform_points#

mymesh.register.transform_points(points, T)[source]#

Apply transformation matrix to an array of points.

Parameters:
  • points (array_like) – Array of point coordinates (shape=(n,3)).

  • T (array_like) – Transformation matrix (either (2,2), (3,3), or (4,4)).

Returns:

new_points – Transformed point coordinates

Return type:

np.ndarray