Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find a position of a point in 3d space moving around a vector with uniform circular motion

Tags:

math

geometry

3d

Let's say I have a point A in a 3d space, and I want to move it with a uniform circular motion around the unit vector n.

So I know the position vector of A, O and the unit vector n (normal to the plane where O, A and B resides), and I know the angle AOB.

What is the quickest way to find the position of B ?

like image 470
ElementalStorm Avatar asked Jul 06 '11 16:07

ElementalStorm


2 Answers

How about just applying the rotation matrix about an axis and angle?

like image 188
Nemo Avatar answered Oct 06 '22 01:10

Nemo


In mathspeak, that would be OB = OA * cos(theta) + (OAxn) * sin(theta)

like image 34
Jack V. Avatar answered Oct 06 '22 01:10

Jack V.