<div>Hi Venu,</div> <div> I understand that to measure the rotation i,e, RotateX,RotateY and RotateZ,I need to find the angle between yz,zx and xy axes of both vectors separartely.But what would be the case if the vector is ( 0,1,0).?What would be the angle between zx axes?The following formula results in infinity.</div> <div>I am querying for a long time.May be my question is too simple.Any guidance to make my conception clear would be greatly appreciated.</div> <div>A.N.<BR><BR><B><I>venugopal gudimetla <gudimetlav@gmail.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <DIV>Are you trying to find the angle between two planes? I guess you can find the cosines in each direction.</DIV> <DIV> </DIV> <DIV>in each direction :</DIV> <DIV>v1•v2 = |v1||v2| cos(angle)</DIV> <DIV>therefore cos(angle)xy = v1•v2
/|v1||v2|</DIV> <DIV>repeat this for other two directions.</DIV> <DIV> <DIV>v1•v3 = |v1||v3| cos(angle)</DIV> <DIV>therefore cos(angle)xz = v1•v3 /|v1||v3|</DIV> <DIV> </DIV> <DIV>Thanks</DIV> <DIV>Venu</DIV><BR><BR> </DIV> <DIV><SPAN class=gmail_quote>On 1/22/07, <B class=gmail_sendername>Aina Nagma</B> <<A href="mailto:aina_nagma@yahoo.com">aina_nagma@yahoo.com</A>> wrote:</SPAN> <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <DIV>Hi,</DIV> <DIV> I have a simple newbie question.I have two normals n1 = (-0.75,-0.5,0.25) and n2 = ( 0.5,-0.6,0.0).I want to know the angles between them separately in X,Y and Z direction.</DIV> <DIV>Can any body help me regarding this?</DIV> <DIV>Thanks in advance.</DIV><SPAN class=sg> <DIV> </DIV> <DIV>A. N.</DIV></SPAN><SPAN class=ad> <div> <HR SIZE=1> Everyone is raving about <A onclick="return
top.js.OpenExtLink(window,event,this)" href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/mailbeta" target=_blank>the all-new Yahoo! Mail beta.</A> <div></div> <div></div></SPAN><BR>_______________________________________________<BR>This is the private VTK discussion list.<BR>Please keep messages on-topic. Check the FAQ at: <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A><BR>Follow this link to subscribe/unsubscribe:<BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers </A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><BR><p> 
<hr size=1>TV dinner still cooling?<br><a href="http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/">Check out "Tonight's Picks"</a> on Yahoo! TV.