- 2071 Shrawan · 6 marks
Rotate line about Y-axis by 90°
Short answer
Clockwise 90° about y-axis: x' = −z, y' = y, z' = x. P1(10,10,10) → (−10,10,10), P2(20,20,15) → (−15,20,20). The rotated line goes from (−10,10,10) to (−15,20,20).
Perform rotation of a line (10, 10, 10), (20, 20, 15) about Y-axis in clock wise direction by 90 degree.
Rotation about the y-axis by angle θ (counter-clockwise positive, viewed from +y towards the origin):
x' = x cosθ + z sinθ, y' = y, z' = −x sinθ + z cosθ
Clockwise by 90° means θ = −90°, so cosθ = 0 and sinθ = −1:
| x' | | 0 0 -1 0 | | x |
| y' | = | 0 1 0 0 | | y |
| z' | | 1 0 0 0 | | z |
| 1 | | 0 0 0 1 | | 1 |
so x' = −z, y' = y, z' = x.
| Point | x' = −z | y' = y | z' = x | Result |
|---|---|---|---|---|
| P1(10,10,10) | −10 | 10 | 10 | (−10, 10, 10) |
| P2(20,20,15) | −15 | 20 | 20 | (−15, 20, 20) |
Answer: the line becomes (−10, 10, 10) to (−15, 20, 20).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- 3D rotation about axis (1,2,3)-(10,20,30) · Computer Graphics, chapter 4
- Rotate unit cube 90° about axis AB · Computer Graphics, chapter 4 · asked 2×
- Bresenham: line (10,20) to (15,2) · Computer Graphics, chapter 2 · asked 4×
- Bresenham: line (25,20) to (15,10) · Computer Graphics, chapter 2
- Rotate object about axis y=4 · Computer Graphics, chapter 4
- 3D rotation about arbitrary axis · Computer Graphics, chapter 4 · asked 2×
- Rod with spring released, 90 degree rotation · Applied Mechanics (Dynamics), chapter 6 · asked 2×
- Laplace: 2x2 grid 10/15/20 · Numerical Method, chapter 7 · asked 6×
- Mean direction angles with VCR (125°25′20″) · Surveying I, chapter 7
- Reactance diagram: 90 MVA generator (15%), two motors · Power System Analysis I, chapter 3 · asked 2×