So this is something like:
x B (x2,y2) \ \ \ \ x C (x3, y3) \ \ \ XA (x1,y1)
As I would do this, first find the angle of this line:
angle_A_B = arctan((y2-y1)-(x2-x1))
then the specified distance between A and C is known (let's call it distance_A_C):
sin(angle_A_B) = delta_x_A_C / distance_A_C delta_x_A_C = distance_A_C * sin(angle_A_B)
so:
x3 = x1+delta_x_A_C
for y3 value:
delta_y_A_C = distance_A_C * cos(angle_A_B)
so:
y3 = y1+delta_y_A_C
Maybe I got the mix characters, so if it doesn't work, change the + value to - .
slebetman
source share