What direction of rotation is used in vrrotvec function?

조회 수: 1 (최근 30일)
Evgheny
Evgheny 2012년 6월 20일
Is it right-handed or left-handed rotation in vrml functions such as vrrotvec?
I thaught VRML uses left-handed, but for example:
% rotating vector pointing UP to vector pointing LEFT
vr = vrrotvec([0 1 0], [-1 0 0]);
% returns:
0 0 1.0000 1.5708
So, here we see that rotation is righthanded? So in Matlab VRML we use right-handed rotation?

채택된 답변

Jan Danek
Jan Danek 2012년 6월 25일
Hi Evgheny,
VRML uses right-handed convention for rotations. See also here:
In accord with this, utility functions provided in Simulink 3D Animation use also right-handed convention.
All the best,
Jan
  댓글 수: 1
Evgheny
Evgheny 2012년 6월 25일
편집: Evgheny 2012년 7월 2일
Thank you. I've also found this doc: http://www.mathworks.com/help/toolbox/sl3d/f2-36380.html#f2-30068 where is said about right-handed direction too

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulation에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by