I am trying to write a script in C# to find the position of point D in 2D space in a specific scenario.
I know the (X,Y) position of point A, which never happens to be on the line that contains the line-segment BC. I also know that point D lies on the perpendicular line that passes through A and crosses BC at a point that we can call P. Also, I know the distance that D is from P. Se the image below:
Can anyone shed some line on which is the most optimal way of achieving that?