Actual widget output
Interactive geometry calculator

2D Line Segment Intersection Calculator

Enter four coordinates for each of two segments and press the button. This example runs the actual widget in your browser.

Find a segment crossing

Result

Run the sample inputs to see the native output.