CRaPI - Correct Robust and Perfect API

Line2D.Intersection Method 

Calculates where two lines intersect.

public bool Intersection(
   Line2D pLine,
   out Point2D intersection
);

Parameters

pLine
Line2D to check for intersection.
intersection
Intersection point.

Return Value

true if intersection is found, otherwise false

Remarks

See http://astronomy.swin.edu.au/~pbourke/geometry/lineline2d/ for details

See Also

Line2D Class | TeamYaffa.CRaPI.Utility Namespace