Hi

I have a 2D path made up of three points B, C and D. I would like to extrapolate the position of A. The angle on the path at point B must equal to angle at point C and the distance between C and B must be the same as the distance between B and A.

I can work it out using trigonometry in specific situations but when I give my function arbitrary point I get all sorts of anomalies. I canâ€™t figure out a solution that works 100% of the time.

Is their an elegant solution for this type of problem? Yes Iâ€™ve tried google but I havenâ€™t found anything helpful.

Thanks for reading