I think you can get what you need here:
http://stackoverflow.com/questions/3306838/algorithm-for-reflecting-a-point-across-a-line
Determine whether or not the given linear transformation is invertible. If it is invertible, compute its inverse. (If the transformation is not invertible, enter IMPOSSIBLE. Use theta for θ.)
Tθ:R2→R2, the reflection of the plane in the line formed by the angle θ with the positive x-axis
T−1(x) = Bx where B=?
1 answer