title: Intersection of Line and Segment in Java
body: <p>Essentially I need to return a boolean if a line and a line segment intersect.   For the line the information I have is the slope, xy coords for a random point, and xy for a y intercept.  For the line segment I have the line segment and the two end point xy coordinates.  Any ideas?</p>