[vtkusers] Help,simple newbie questions

Aina Nagma aina_nagma at yahoo.com
Sat Feb 3 11:10:27 EST 2007


Hi Venu,
             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.
  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.
  A.N.

venugopal gudimetla <gudimetlav at gmail.com> wrote:
    Are you trying to find the angle between two planes? I guess you can find the cosines in each direction.
   
  in each direction :
  v1•v2 = |v1||v2| cos(angle)
  therefore cos(angle)xy = v1•v2 /|v1||v2|
  repeat this for other two directions.
    v1•v3 = |v1||v3| cos(angle)
  therefore cos(angle)xz = v1•v3 /|v1||v3|
   
  Thanks
  Venu


 
  On 1/22/07, Aina Nagma <aina_nagma at yahoo.com> wrote:     Hi,
      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.
  Can any body help me regarding this?
  Thanks in advance.
   
  A. N.
    
---------------------------------
  Everyone is raving about the all-new Yahoo! Mail beta.   
  

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers 






 
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070203/242d9d0e/attachment.htm>


More information about the vtkusers mailing list