Hi Duncan, Sorry, I forgot to mention. I meant (x1,y1,z1) and (x3,y3,z3). With regards, Abu
----------------------------------------> Date: Mon, 1 Oct 2007 10:48:12 -0400> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: r-help@r-project.org> Subject: Re: [R] orientlib>> 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 _________________________________________________________________ Get free emoticon packs and customisation from Windows Live. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.