OT: Some line math help?

Quick question. I am looking for a fast method to find there intersection point of 2 3D line segments that lye on the same plane. Please note, they may intersect once, infinatly or not at all. Anyone have a quick equation to do this with two line segments. Thanks for the help.

Hi

Perhaps this site can help: http://geometryalgorithms.com/Archive/algorithm_0104/algorithm_0104B.htm

Regards
Martin

http://astronomy.swin.edu.au/~pbourke/geometry/