The first line
The second line
If the lines intersect, holds the intersection point
LineSegmentsIntersection2D Method
Looks for the intersection point for the two lines passed in
Syntax
public static bool LineSegmentsIntersection2D( 
   PointUtil.Line firstLine,
   PointUtil.Line secondLine,
   out Point intersectionPoint
)

Parameters

firstLine
The first line
secondLine
The second line
intersectionPoint
If the lines intersect, holds the intersection point

Return Value

The value indicating whether an intersection occurs
Remarks
See http://paulbourke.net/geometry/lineline2d/Helpers.cs
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also