2
$\begingroup$

I have a vector V= and several line segments Seg1, Seg2, Seg3, Seg4.

I want to know how to rotate each of the line segments so that the X axis is parallel to my given vector.

How can I do this?

Note: I am aware that I can get the angle of rotation by taking the inner product of my vector and the x-unit vector (i.e. V DOT X) but I am unaware of what to do after this.

  • 0
    How is the vector related to the line segments?2011-04-25
  • 0
    It is the average direction vector.2011-04-26

1 Answers 1