I have three known points defining a triangle: $A(x_a,y_a), B(x_b,y_b)$ and $C(x_c,y_c)$.
How do I round the angle (ABC) of a specific radius $r$?
I know that the slope of $AB$ edge is: $(y_a - y_b) / ( x_a - x_b)$.
My circle with center (unknown) $O:(x_o, y_o)$ will have an equation $(y_a - y_o)^2 + (x_a -x_o) = r^2$.
The point $B$ will also satisfy the equation of the circle.
Knowing the slopes of the line equations of my triangle and that my circle has a radius of known $r$, I have troubles to find the center of my circle and the points $M,N$ where my circle will intersect with the edges of the triangle. The points $M,N$ are also the tangential points of the circle.
After working little the math it seems that I have too many unknowns for my system.
I would really appreciate any help.
Kind regards
The general equation for a circle is :
$$x^2 + y^2+2gx+2fy+c=0 $$
And all three points will satisfy this equation.
Hence :
$$ x_a^2+y_a^2+2gx_a+2fy_a+c=0 $$ $$ x_b^2+y_b^2+2gx_b+2fy_b+c=0 $$ $$ x_c^2+y_c^2+2gx_c+2fy_c+c=0 $$
You have three equations and three unknowns $ f,g,c$. Solve them together to get the values and substitute them in the equation of the circle to get its equation.