Circle-line collision detection