Subject:
|
Re: Mathematical assistance please
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 7 Jan 2005 00:09:37 GMT
|
Viewed:
|
2012 times
|
| |
 | |
In lugnet.cad.dev, Ross Crawford wrote:
|
Or maybe another way to look at it (got this from old lecture notes):
Goal: rotate about arbitrary vector A by alpha
Idea: we know how to rotate about X,Y,Z
So, rotate about Y by beta until A lies in the YZ plane
Then rotate about X by gamma until A coincides with +Z
Then rotate about Z by alpha
Then reverse the rotation about X (by -gamma)
Then reverse the rotation about Y (by -beta)
|
OK, heres my VERY LAST word on the subject:
Transforming both 4-4cyls S0-S1 and vector S1-S2:
- Rotate about Y by beta until S0-S1 lies in the YZ plane
- Rotate about X by gamma until S0-S1 coincides with +Z
- Rotate about Z by delta until S1-S2 lies in XZ plane
Now rotate 4-4cyls S0-S1 only about Z until the shortest side is on the XZ
plane, on the same side of the Y axis as the vector S1-S2
Then:
- Reverse the rotation about Z (by -delta)
- Reverse the rotation about X (by -gamma)
- Reverse the rotation about Y (by -beta)
That should get you the result you need.
Of course it can probably be optimised somewhat :)
ROSCO
|
|
Message is in Reply To:
 | | Re: Mathematical assistance please
|
| (...) Or maybe another way to look at it (got this from old lecture notes): Goal: rotate about arbitrary vector A by alpha Idea: we know how to rotate about X,Y,Z So, rotate about Y by beta until A lies in the YZ plane Then rotate about X by gamma (...) (20 years ago, 6-Jan-05, to lugnet.cad.dev)
|
13 Messages in This Thread:               
     
        
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|