<div>Hi Venu,</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks for your suggestion.But I am asking for something else.Suppose I have a X-section whose normal n1 =(-0.25,0.75,0.3).I want to align it along n2=(0,1,0).So if I want to use vtkTransform,then to rotate along n2,I need to use RotateX,RotateY,RotateZ.That is what I asking about how can I get X,Y and Z angle.</div>  <div>&nbsp;</div>  <div>Best regards,</div>  <div>&nbsp;</div>  <div>A. N.<BR><BR><B><I>venugopal gudimetla &lt;gudimetlav@gmail.com&gt;</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>&nbsp;</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>&nbsp;</DIV>  <DIV>Thanks</DIV>  <DIV>Venu</DIV><BR><BR>&nbsp;</DIV>  <DIV><SPAN class=gmail_quote>On 1/22/07, <B class=gmail_sendername>Aina Nagma</B> &lt;<A href="mailto:aina_nagma@yahoo.com">aina_nagma@yahoo.com</A>&gt; 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>&nbsp;&nbsp;&nbsp; I have a simple newbie question.I have two normals n1 = (-0.75,-0.5,0.25)&nbsp; 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>&nbsp;</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>&#32;


 <hr size=1>Looking for earth-friendly autos? <br> <a href="http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI-">Browse Top Cars by "Green Rating"</a> at Yahoo! Autos' Green Center.