COMP-205 / Homework 2 / Problem #3

Four Lines Intersecting at a Common Point

Kenny Hoff
1/27/97


The given algorithm:

  1. Take two lines and find the intersection point P (precise up to 14 or 15 digits).
  2. Calculate the distances from P to the remaining two lines.
  3. If both distances are below E (10-10), then the four lines are said to be intersecting.

The algorithm's assymetry:

Breaking the assymetry