line segment intersection detection