I'm working my way through 3D Math Primer for Graphics and Game development 2nd edition and have a question about the following step at the end of section 9.2.3.
Can someone decipher what the following is doing for me?
d=(q+r)/2 dot [a b]
More details
The method starts off assuming you have a line defined as follows
distance(p,q) = distance(p,r)
where q and r are points that anchor the line such that the line is all points equidistant from q and r.
Towards converting this to implicit form, ax+by=d, the steps are:
a = q_y - r_y
b = r_x = q_x
d = (q+r)/2 dot [a b]
...
It's not clear to me what the dot product is doing here.