Rotating 3D points on same plane to x-y axis
5 ビュー (過去 30 日間)
古いコメントを表示
I have a 3D mesh object which contains many faces, each made up of 3 vertices. I am currently able to select a face with a click. Upon selection I would like the whole mesh object to rotate such that the selected face is parallel to the x-y axis.
i.e. I have 3 known xyz coordinates that sit on a 2D plane. I want to rotate these points so that this plane is now parallel to the x-y axis. I simply require a method of calculating the transformation matrix required for this rotation to input into the 'Matrix' property of the hgtransform object.
Thanks in advance.
0 件のコメント
回答 (1 件)
Matt J
2014 年 4 月 22 日
I simply require a method of calculating the transformation matrix required for this rotation
See, for example,
参考
カテゴリ
Help Center および File Exchange で Object Containers についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!