Version

AreLinesIntersectingIntersecting Method

Check if two lines are intersecting
Syntax
'Declaration
 
Public Shared Function AreLinesIntersectingIntersecting( _
   ByVal l1p1 As Point, _
   ByVal l1p2 As Point, _
   ByVal l2p1 As Point, _
   ByVal l2p2 As Point _
) As Boolean
public static bool AreLinesIntersectingIntersecting( 
   Point l1p1,
   Point l1p2,
   Point l2p1,
   Point l2p2
)

Parameters

l1p1
First point of first line
l1p2
Second point of first line
l2p1
First point of second line
l2p2
Second point of second line
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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