image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > General Math


Reply

image Rotation angle clockwise or anticlockwise? Share It Thread Tools Search this Thread image
Old Jun14-09, 06:51 AM                  #1
whitenight541

whitenight541 is Offline:
Posts: 48
Rotation angle clockwise or anticlockwise?

Hi all,

I want to implement rays emitted from diffraction by a wedge. So I have a wedge with 2 faces ,a common edge and an incident ray. I have the tangent and normal to each face. I calculated the base of the diffracted rays so that it lies in one of the faces. I want to rotate this ray several times about the edge until I reach the other face.

I have the rotation matrix. The problem is I can't determine whether my rotation angle is clockwise or anticlockwise. I can rotate in one direction only (since it is a wedge and rays shouldn't go inside the walls).

Is there any vector operation I can use to determine this?
  Reply With Quote
Old Jun14-09, 08:32 AM                  #2
D H

D H is Offline:
Posts: 4,169
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: Rotation angle clockwise or anticlockwise?

Clockwise or counterclockwise with respect to what? You need a reference direction to say whether some rotational motion is clockwise or counterclockwise. Imagine you have a transparent clock hanging like a chandelier. Viewed from one side the hands appear to move clockwise, but from the other side they appear to move counterclockwise.
  Reply With Quote
Old Jun14-09, 10:48 AM                  #3
junglebeast

junglebeast is Offline:
Posts: 428
Re: Rotation angle clockwise or anticlockwise?

Originally Posted by whitenight541 View Post
Hi all,

I want to implement rays emitted from diffraction by a wedge. So I have a wedge with 2 faces ,a common edge and an incident ray. I have the tangent and normal to each face. I calculated the base of the diffracted rays so that it lies in one of the faces. I want to rotate this ray several times about the edge until I reach the other face.

I have the rotation matrix. The problem is I can't determine whether my rotation angle is clockwise or anticlockwise. I can rotate in one direction only (since it is a wedge and rays shouldn't go inside the walls).

Is there any vector operation I can use to determine this?
A positive rotation rotates from (1,0) to (0,1). Usually (1,0) is defined as right, and (0,1) can either be up or down depending on if you are drawing a typical graph (where it is up) or considering pixels on the screen (where it is down). If you just have a rotation matrix and you don't know whether or not it represents positive or negative rotation, use it to transform the vector (1,0) and see where it goes.
  Reply With Quote
Old Jun14-09, 11:15 AM                  #4
whitenight541

whitenight541 is Offline:
Posts: 48
Re: Rotation angle clockwise or anticlockwise?

Well with respect to the faces of the wedge. Denote one face as faceO and the other as faceN. I want to partition the angle from faceO to faceN to emit several rays through it. Ofcourse this angle is the outside of the wedge not inside it (so it can be > 180).

For example let a wedge has an inner angle of 90. So this means that i want to emit rays in the external 270 degrees starting from faceO to faceN. The problem is if I started at faceO I don't know in what direction should I rotate in order to reach faceN (through the external 270 degrees)

I have the rotation matrix with the angle as a variable so I have to specify the angle. if positive then counterclockwise if negative then clockwise.
  Reply With Quote
Old Jun14-09, 01:58 PM                  #5
HallsofIvy

PF Mentor

HallsofIvy is Offline:
Posts: 24,778
Re: Rotation angle clockwise or anticlockwise?

what is your rotation matrix? A rotation about angle LaTeX Code: \\theta can be written as the matrix
LaTeX Code: \\begin{bmatrix}cos(\\theta) & -sin(\\theta) \\\\ sin(\\theta) & cos(\\theta)\\end{bmatrix}

Because LaTeX Code: sin(-\\theta)= -sin(\\theta) , if the number LaTeX Code: -sin(\\theta) in the "upper right" of your matrix is negative, this is a rotation through a positive angle, an anti-clockwise rotation. If it is positive, it is a rotation through a negative angle, a clockwise rotation.
  Reply With Quote
Old Jun15-09, 12:47 AM                  #6
whitenight541

whitenight541 is Offline:
Posts: 48
Re: Rotation angle clockwise or anticlockwise?

No, this is a rotation about an arbitrary axis so the rotation matrix is more complicated than this.

It is found here http://en.wikipedia.org/wiki/Rotation_matrix
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Rotation angle clockwise or anticlockwise?
Thread Thread Starter Forum Replies Last Post
Is the rotation angle in Minkowski's diagram real or imaginary? gene1721 Topology & Geometry 6 May14-09 02:38 PM
Clockwise or counterclockwise rotation about a fulcrum invadertak Introductory Physics 1 May12-09 02:23 PM
Help with determining Angle of Rotation for a Conic, please. popsquare General Math 2 Dec10-07 10:33 AM
rotation angle ehrenfest Calculus & Beyond 3 Sep28-07 11:59 PM
Why not anticlockwise? Qyamat General Astronomy 5 Dec27-04 08:51 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image