http://qs1969.pair.com?node_id=253979


in reply to line segment intersection

Is this a perl question or a math question?

If its math, this page seems to have the formulas you need. I would copy and paste, but not with those equations on it. By the way, did you mean
treat AB as a line segment, and CD as a line segment?

Hope that helps,
Smitz