Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: JoseParrotPosted on 2009-04-22 at 22:25:58ID: 24212008
First move the line P1P2 such that P1 coincides with the orign, say P1=(0,0,0).
Anotate the displacements dx, dy and dz.
Then rotate the line P1P2 around P1, such that P1P2 coincides with the Z axis. P2 will be P2=(0,0,L), being L=lenght of P1P2.
Anotate the angles ax, ay and az and the order of ratation (1st, 2nd, 3rd)
Construct your circle by using the circle equation y² = R² - x² , being R the Radius.
Rotate back the line (and the circle) by using the inverse ordem (3rd, 2nd, 1st)
Move back both, by using -dx, -dy, -dz .
Jose