(Drag the Blue point. Gray text is clickable).
Point M is only constrained by the vector formula.
_________
Notes:
In this worksheet, I adopted the text convention
is a vector
is the unit vector in direction ,
is the length of
Here is one way that I might generalize these formulas a bit further. Say, in code for a Geometry program.
Given a set of n vectors, index them beginning at zero: , and
Let the corresponding unit vectors be
If the vectors form a closed loop, operations the index j are to be performed in arithmetic (mod n).
(Otherwise, boundary cases must be handled according to the structure of the problem).
Here, n = 3. The path is closed; use arithmetic mod 3.
Let the vertices of the triangle be
With corresponding angles
And let vector
Then the jth angle bisector is the line (ray)
It intersects the opposite side at
.
_____
Let i = j+1, so that the user index is in the natural range: i= 1, 2, 3,
corresponding always to the three vertices in the given order.
The user should be able to manipulate these relationships without seeing how they have been defined.
The definitions must match those of Geometry.
Where there are multiple conventions and possible definitions, the user must be able to select from among them in a natural way.
The goal is to allow proper object encapsulation: elements may be defined on the triangle, and collected with the triangle, accessible by simple interface. From there, these elements are exposed, accessible in the rest of the construction.
This allows context to be established and distinguished.