Skip to main content

Orientation

  • Situation: An orientation distinct from position and scale
  • Target: Orientation · Rotation basis · Reflection
  • Convention: Right-handed orthonormal frame; column vectors; rightmost matrix first; angles in radians unless marked °; lengths in m · Overview

Core concepts​

  • Orientation: rotational relationship between frames; three degrees of freedom; position as separate translation

  • Rotation basis: three mutually perpendicular unit columns; RᵀR=I and det R=+1

  • Reflection: orthogonal matrix with determinant −1; valid distance preservation but not a proper rotation

  • Local versus world rotation: postmultiply RΔ for local axes, premultiply ΔR for world axes; noncommuting rotations

  • Constructed frame: chosen forward axis f and reference up u; perpendicular side from u×f, corrected up from f×side; parallel inputs invalid

Worked example​

Rz(90°): columns (0,1,0), (−1,0,0), (0,0,1); all lengths 1, pairwise dot products 0, determinant +1

f=d∥d∥,r=u×f∥u×f∥,v=f×r,R=[ r v f ]\mathbf f=\frac{\mathbf d}{\|\mathbf d\|},\quad \mathbf r=\frac{\mathbf u\times\mathbf f}{\|\mathbf u\times\mathbf f\|},\quad \mathbf v=\mathbf f\times\mathbf r,\quad R=[\,\mathbf r\ \mathbf v\ \mathbf f\,]
An orientation distinct from position and scale
Figure 1. An orientation distinct from position and scale

Practice​

  • Preparation → prediction → calculation: Previous R; predict one-column sign reversal → check lengths, dot products and determinant → compare with doubling one column; validated R retained
  • Record: Assumed exercise inputs; predictions before calculation; calculated answers and optional viewer output in separate columns; no physical measurements
CasePredictionCalculated resultViewer output (optional)
det⁡diag⁡(−1,1,1)\det\operatorname{diag}(-1,1,1)
RTRR^TR
Double one column of R
  • Optional extension: Floating-point drift: orthonormality residual RᵀR−I; reorthogonalization with handedness check

Exercises​

  1. Problem: det⁡diag⁡(−1,1,1)\det\operatorname{diag}(-1,1,1)
  2. Problem: RTRR^TR
  3. Problem: Double one column of R
  4. Problem: Forward parallel to reference up
Answers and checks
  1. Answer: −1-1
  2. Answer: II
  3. Answer: Length 2; not a rotation
  4. Answer: Zero cross product; alternative nonparallel reference required

Connections​