Possible Duplicate:
How to calculate the mirror point along a line?
In 2D plane, I have a point and a line start and end point.
How to get the mirror point along this line?
Possible Duplicate:
How to calculate the mirror point along a line?
In 2D plane, I have a point and a line start and end point.
How to get the mirror point along this line?
You can use the mirror matrix:
This matrix is only for vectors which goes through 0.0 of the coordinate system. Therefore you have to translate the point vector fist. And afterwards translate the vector back.
See wikipedia: Wikipedia Spiegelungsmatrix
The English version can be found here: Wikipedia Coordinate rotations and reflections