Hi Abu,

Your statements only seem to make sense if you have another point you want
to use as reference. I.e. you have a plane through (x0,y0,z0), (x1,y1,z1)
and (x2,y2,z2) and you want to calculate the angle between that plane and a
plane through (x3,y3,z3), (x1,y1,z1) and (x2,y2,z2). The way you describe
it, there's nothing much to rotate about the line (x2-x1,y2-y1,z2-z1).
Please think carefully about what you want to do and how you can get these
thoughts across to others.

Best,

Tsjerk

On 10/1/07, Duncan Murdoch <murdoch@stats.uwo.ca> wrote:
>
> On 10/1/2007 1:27 PM, Abu Naser wrote:
> > Hi Duncan,
> >
> > Let me explain again about what I want to do.
> >
> > I have a three coordinates (x1,y1,z1),(x2,y2,z2), and (x3,y3,z3). I want
> to use (x1,y1,z1)
> > and (x2,y2,z2) for defining axis of rotation
>
> Okay so far:  the axis is (x1-x2, y1-y2, z1-z2).
>
>
> > and then calculate the angle of rotation of a  line from (x1,y1,z1) and
> (x3,y3,z3) around that axis of rotation.
>
> This part does not make geometric sense to me.  Lines don't have an
> angle of rotation around an axis of rotation.  Lines may form angles
> with other lines if they intersect (and I assume these two lines
> intersect at (x1, y1, z1)), but those have nothing to do with rotations.
>
> > Is it possible using your library?
>
> It sounds as though we are thinking about very different things, so I
> would guess not.
>
> > Or please advise me how to get the  solution?
>
> I don't understand your problem well enough to give any useful advice.
>
> Duncan Murdoch
>
> ______________________________________________
> 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.
>



-- 
Tsjerk A. Wassenaar, Ph.D.
Junior UD (post-doc)
Biomolecular NMR, Bijvoet Center
Utrecht University
Padualaan 8
3584 CH Utrecht
The Netherlands
P: +31-30-2539931
F: +31-30-2537623

	[[alternative HTML version deleted]]

