Definition
- Reflection is a transformation that flips an object over a line (in 2D) or a plane (in 3D), creating a mirror image.
- Reflection can be defined across various axes (e.g., X-axis, Y-axis).
- In 2D, reflection matrices invert one axis’s coordinates while keeping the other the same.
- In matrix form, reflection is represented by using
-1
to invert the axis across which reflection occurs.
Reflection across X-axis:
Reflect across the X-axis:1000−10001
Reflection across Y-axis:
Reflect across the Y-axis:−100010001
Example: Reflection across X-axis
Reflect a point (2,3) across the X-axis:1000−10001231=2−31
Example: Reflection across Y-axis
Reflect a point (2,3) across the Y-axis:−100010001231=−231