Here's the
for reference. The objective is to find the point (xc,yc) when (x1,y1), (x2,y2), (x3,y3) and 'd' are known. My present approach is as follows.
Find the dot product of the lines described by the point pairs ((x1,y1) and (x2,y2)) and ((x2,y2) and (x3,y3)) to obtain the angle between the lines.
The projection of the angle-bisector on the line ((x1,y1) to (x2,y2)) results in a point (xa,ya). This point (xa,ya) can be solved by using two equations namely, one where the point lies on the line ((x1,y1) and (x2,y2)) and second where its distance from the point (x2,y2) is d*cos(theta/2). The same process is repeated for the point (xb,yb).
Once these are obtained, simultaneous equations are obtained for xc and yc by finding the dot product of the lines ((x2,y2) and (xc,yc)) and ((x2,y2) and (xa,ya)) which should equal d*cos(theta/2) and the process is repeated for (xb,yb). These simultaneous equations are then solved to obtain (xc,yc).
My question, is there any other alternative solution to this problem?
You could, for instance, construct the rhombus of which $C$ is the center: let $A$ on ray $P_2P_1$ and $B$ on ray $P_2P_3$ be constructed such that $$ P_2A=P_2B={d\over\cos\theta/2}. $$ Point $C$ is then the midpoint of $AB$. We have then: $$ C={d\over2\cos\theta/2}\left({P_3-P_2\over P_3P_2} +{P_1-P_2\over P_1P_2}\right)+P_2. $$