I had a feeling it might work something like this, and it turns out I was right: Adding lines to the display was as simple as substituting the desired line width (in positive and negative values) for the 0 you compared the dot products to:
if (dot(p, startVec) > 1 && -1 > dot(p, endVec))
results in: