[R] orientlib

Duncan Murdoch murdoch at stats.uwo.ca
Mon Oct 1 16:48:12 CEST 2007


On 10/1/2007 9:44 AM, Abu Naser wrote:
> Hi Duncan,
> 
> Thanks for your replay.
> I am confused as I dont have the quaternion backgorund.
> 
> Let me explain what I am trying to do:
> I have 3 coordinates in  space (x1,y1,z1),(x2,y2,z2), and (x3,y3,z3) . Now, I use  (x1,y1,z1) and (x2,y2,z2) to define axis of rotaion. Then, I wanted to use 3rd coordinate to calculate angle of rotation about that axis. Is it possible with your orientlib?

I think you need to be more specific about how the rotation is defined. 
  Two points define a line in an obvious way, but how does the third point
define an angle?

Duncan Murdoch



More information about the R-help mailing list