Search code examples
geometrycomputational-geometryanglepoints

Finding a point on the bisectrix


I have this problem : 3 points A, B, C that make an angle < 180 degrees. The points are given as (x, y) pairs. I have to find a point placed on the bisectrix of the angle, in the outside of the ABC triangle, and the distance between that point and B point to be D.


Solution

  • The locus of a point that's a distance D from a point B is a circle with radius D centred at B. So intersect the angle bisector with this circle. There will be two points of intersection; pick one that's outside the ABC triangle.