I want calculate the reflection from a straight R on the surface from the straight BC:
The triangle with the position vectors A,B,C are given. As well the position vector P and the direction vector R.
what I can calculate:
Now I can calculate the intersection point D(x,y) and the reflection vector (as a direction vector R') and I know the x coordinate from the point P'(x,?) because the x value from the point P and P' are equals.
what I cannot calculate:
I need from the point P' the y coordinate. Because I need position vectors for drawing the reflected line with python matplotlib.
How can I get the y coordinate from the point P' with the given parameters?
The reflected vector will go from D(x,y) to P'(x,y)