draw connection between two points with 2 given vectors

34 Views Asked by At

i want to draw a connection between two points with 2 given lengths. Here is a sketch — maybe you understand.

Sketch

Given are the points p1;p2…pn, the lengths of a and b and the point x1. I need a function that describes the angles of α and β.

I know there will be no answers when the distance between x1 and pn > lengths of a + b.

Thank you very much.

Regards Karl