Open3d: get_rotation_matrix_from_xyz isn't in Open3d.geometry?

Created on 25 Nov 2019  路  5Comments  路  Source: intel-isl/Open3D

get_rotation_matrix_from_xyz(..) isn't in Open3d.geometry?

Can't find that method.

Examples refer to that : https://github.com/intel-isl/Open3D/blob/master/examples/Python/Basic/transformation.py

possible bug

Most helpful comment

1355 exposes get_rotation_matrix_from_* in open3d.geometry.

All 5 comments

Right, get_rotation_matrix_from_xyz() is currently not exposed in open3d.geometry, only in open3d.geometry.Geometry3D and its sub-classes. For now you can use open3d.geometry.Geometry3D.get_rotation_matrix_from_xyz().

Thanks - can I rotate with a rotation matrix or do I have to estimate euler angles or axis angles?

Once you have a rotation matrix, you can use it in the rotate methods. The functions get_rotation_matrix_from_* are just convenience functions to get a rotation matrix from different rotation representations.

1355 exposes get_rotation_matrix_from_* in open3d.geometry.

That was fast!

Was this page helpful?
0 / 5 - 0 ratings