SciChart.Drawing Assembly > SciChart.Drawing.Utility Namespace > PointUtil Class : LineIntersection2D(Line,Line,Point) Method
The first line
The second line
If the lines intersect, holds the intersection point
LineIntersection2D(Line,Line,Point) Method
Looks for the intersection point for the two lines passed in
Syntax
public static bool LineIntersection2D( 
   PointUtil.Line l1,
   PointUtil.Line l2,
   out Point intersectionPoint
)

Parameters

l1
The first line
l2
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