Intersecting Line Segments

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.

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

For details, see:
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.