# Intersecting Line Segments

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration determines whether or not two line segments intersect. A green dot indicates that the segments intersect and a red dot that they do not. Degeneracy (i.e., when the lines are parallel or coincident) is shown with a red dot in the middle of the screen.

Contributed by: Jon Perry (September 2009)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

For details, see:

P. Bourke, "Intersection Point of Two Lines (2 Dimensions)." (April 1989)

Wikipedia, "Line-Line Intersection."

## Permanent Citation

"Intersecting Line Segments"

http://demonstrations.wolfram.com/IntersectingLineSegments/

Wolfram Demonstrations Project

Published: September 24 2009