WebPlanner Programmer's Guide

Utilities.Intersect Method

See Also
 


Determines whether the specified line segments intersect.

Namespace: MindFusion
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public static bool Intersect (
    PointF p1,
    PointF p2,
    PointF p3,
    PointF p4
)

Visual Basic  Copy Code

Public Shared Function Intersect ( _
    p1 As PointF, _
    p2 As PointF, _
    p3 As PointF, _
    p4 As PointF _
) As Boolean

 Parameters

p1

The first point of the first line segment.

p2

The second point of the first line segment.

p3

The first point of the second line segment.

p4

The second point of the second line segment.

 Return Value

true if the segments intersect, false if not.

 See Also