Rotation angle clockwise or anticlockwise?

In summary, the conversation discusses implementing rays emitted from diffraction by a wedge. The problem is determining the rotation angle, whether it is clockwise or anticlockwise. Various methods are suggested, including using a reference direction or a rotation matrix.
  • #1
whitenight541
49
0
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?
 
Mathematics news on Phys.org
  • #2
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.
 
  • #3
whitenight541 said:
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.
 
  • #4
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.
 
  • #5
what is your rotation matrix? A rotation about angle [itex]\theta[/itex] can be written as the matrix
[tex]\begin{bmatrix}cos(\theta) & -sin(\theta) \\ sin(\theta) & cos(\theta)\end{bmatrix}[/itex]

Because [itex]sin(-\theta)= -sin(\theta)[/itex], if the number [itex]-sin(\theta)[/itex] 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.
 
  • #6
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"
 
Last edited by a moderator:

FAQ: Rotation angle clockwise or anticlockwise?

What is the difference between rotation angle clockwise and anticlockwise?

Rotation angle refers to the amount of rotation in a given direction. Clockwise rotation is when an object is rotated in the same direction as the hands of a clock, while anticlockwise rotation is in the opposite direction.

How is rotation angle measured?

Rotation angle is measured in degrees, with a full rotation being 360 degrees. It can also be measured in radians, with a full rotation being 2π radians.

Can an object have both clockwise and anticlockwise rotation?

Technically, an object can have both clockwise and anticlockwise rotation. This is known as a "combined rotation", where the object has two different rotation angles in opposite directions at the same time.

How does rotation direction affect an object's movement?

The direction of rotation can affect an object's movement in terms of the path it takes. For example, a clockwise rotation may result in a circular or curved motion, while an anticlockwise rotation may result in a more linear or angular motion.

Is there a preferred direction for rotation in science?

In science, there is no preferred direction for rotation. Both clockwise and anticlockwise rotations are valid and used in various fields, such as mathematics, physics, and engineering.

Similar threads

Back
Top