collision between points and lines