Omega Owners Forum

Chat Area => General Discussion Area => Topic started by: PaulW on 14 December 2008, 20:27:58

Title: Another one for the maths guru's...
Post by: PaulW on 14 December 2008, 20:27:58
Here's a complex (or simple one to some) query...

You have 2 points in a 3D space.

Point A is located at XYZ (-10, -7, 4)
Point B is located at XYZ (-10. -4, 2)

Distance between points is worked out by SQRT((Xa*Xb) + (Ya*Yb) + (Za*Zb)) which works out at 11.66

What I want to do now is work out the new position of Point B if its rotated around Point A by:
X - 30deg
Y - 20deg
Z - 40deg

Hope that makes sense...
Title: Re: Another one for the maths guru's...
Post by: Taxi_Driver on 14 December 2008, 20:34:20
Quote
Here's a complex (or simple one to some) query...

You have 2 points in a 3D space.

Point A is located at XYZ (-10, -7, 4)
Point B is located at XYZ (-10. -4, 2)

Distance between points is worked out by SQRT((Xa*Xb) + (Ya*Yb) + (Za*Zb)) which works out at 11.66

What I want to do now is work out the new position of Point B if its rotated around Point A by:
X - 30deg
Y - 20deg
Z - 40deg

Hope that makes sense...

Its 42 mate  ;) ;D ;D
Title: Re: Another one for the maths guru's...
Post by: PaulW on 14 December 2008, 20:39:49
Quote
Quote
Here's a complex (or simple one to some) query...

You have 2 points in a 3D space.

Point A is located at XYZ (-10, -7, 4)
Point B is located at XYZ (-10. -4, 2)

Distance between points is worked out by SQRT((Xa*Xb) + (Ya*Yb) + (Za*Zb)) which works out at 11.66

What I want to do now is work out the new position of Point B if its rotated around Point A by:
X - 30deg
Y - 20deg
Z - 40deg

Hope that makes sense...

Its 42 mate  ;) ;D ;D

 ;D if only  :'(

All I need is the formula to work this out... not the actual result...

Google returns bugger all which is useful...
Title: Re: Another one for the maths guru's...
Post by: Leomas on 14 December 2008, 20:43:45
Can you not simply do vector sums using the initial distance between A and B and each angle in turn?