Omega Owners Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Search the maintenance guides for answers to 99.999% of Omega questions

Pages: [1]   Go Down

Author Topic: Another one for the maths guru's...  (Read 592 times)

0 Members and 1 Guest are viewing this topic.

PaulW

  • Omega Knight
  • *****
  • Offline Offline
  • Gender: Male
  • Somewhere near Manchester
  • Posts: 1769
  • Come on you fiend!
    • Some crappy Insignia
    • View Profile
Another one for the maths guru's...
« 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...
« Last Edit: 14 December 2008, 20:28:23 by PaulW »
Logged
Humbugs...

Taxi_Driver

  • Guest
Re: Another one for the maths guru's...
« Reply #1 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
Logged

PaulW

  • Omega Knight
  • *****
  • Offline Offline
  • Gender: Male
  • Somewhere near Manchester
  • Posts: 1769
  • Come on you fiend!
    • Some crappy Insignia
    • View Profile
Re: Another one for the maths guru's...
« Reply #2 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...
Logged
Humbugs...

Leomas

  • Intermediate Member
  • ***
  • Offline Offline
  • Gender: Male
  • Boyne Valley (on loan)
  • Posts: 302
  • Ooops what did I break this time?
    • View Profile
Re: Another one for the maths guru's...
« Reply #3 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?
Logged
Recently 'learned up' and being more careful now, honestly.
Ummm except for where I fix one thing and break something else
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.