
The original point of (2, 3) and the Image Point will always be equidistant from the Mirror Line over which the original point is reflected. Line Y = X is the Line that passes through the origin and creates a 45 degree angle with the X axis So the first rotation gives us point (2, 3) Or, the explanation is too long winded, you can follow the Rule:įor 90 degree rotations clockwise about the Origin: (X, Y) ->becomes image point of (Y, -X) These 2 points and the origin will create a 90 degree angle about the Origin (both lines are diagonals of their respective rectangles) and connecting new image point A at (2, 3) connecting original point A at (-3 ,2) with the Origin Point A would now move to the upper right corner of this new rectangle that we pushed over -> this will be point (2, 3) The origin is the rotation’s fixed point unless stated otherwise. In a 90 degree clockwise rotation, the point of a given figure’s points is turned in a clockwise direction with respect to the fixed point. The transformation should be done in-place and in quadratic time. The 90-degree clockwise rotation represents the movement of a point or a figure with respect to the origin, (0, 0). This would give us a rectangle of 2 units along the positive X axis and 3 units along positive Y axis. Given a square matrix, rotate the matrix by 90 degrees in a clockwise direction. Rule of 90 Degree Rotation about the Origin When the object is rotating towards 90 clockwise then the given point will change from (x,y) to (y,-x). In short, switch x and y and make x negative. Remember that any 90 degree rotation around the origin will. Whether rotating clockwise or counter-clockwise, remember to always switch the x and y-values. 90 degrees counter-clockwise from quad I would turn any point from (+,+) to a point which is (-,+). Given a square matrix, turn it by 90 degrees in a clockwise direction without using any extra space.

Now imagine lifting the rectangle up and pushing it from quadrant 2 into quadrant 1 - i.e, a 90 degree rotation clockwise about the Origin 90 Degree Clockwise Rotation If a point is rotating 90 degrees clockwise about the origin our point M (x,y) becomes M' (y,-x). 90 degrees clockwise from quad I would turn any point from (+,+) to a point which is (+,-). Rotate a matrix by 90 degree in clockwise direction without using any extra space.

If we join the horizontal and vertical lines to the Y and X axis, respectively, we end up with a rectangle that is 3 units along the Negative X Axis and 2 units along the Positive Y Axis Label (-3, 2) as point A and Origin as Point O Since we are rotating 90 degrees about the Origin (0, 0) -> make a rectangle with these 2 points The Rotate 90 clockwise command rotates the active layer by 90 around the center of the layer, with no loss of pixel data. (c) Find the coordinates of all rotated points using above mentioned shortcut formula (d) join all the point to form complete figure.

(b) Now rotate each of the vertices individually. The way I understood 90 degree rotations was by the “tipping the rectangle” method. 90 degree counterclockwise rotation of object You can rotate the simple geometrical figures by following the below steps.
