Geometry Functions

lyceanem.geometry.geometryfunctions.open3drotate(item, rotation_matrix, rotation_centre=array([[0.], [0.], [0.]], dtype=float32))[source]
Parameters:
  • item (open3d object) – open3d.geometry.PointCloud, open3d.geometry.TriangleMesh or other open3d objects with .rotate function

  • rotation_matrix (open3d rotation matrix) – rotation matrix for the desired transformation

  • rotation_centre (numpy float (3,1)) – desired rotation centre, defaults to the origin

Returns:

item – rotated item

Return type:

open3d object