Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Calculates at what point Line 1, given by p1 and p2, intersects with Line 2, given by p3 and p4, and returns the result point in p5. Returns 1 (True) if the lines intersect or 0 (False) if the lines are parallel.

...