test for line circle intersection