Added determineDirection case for being on the line