WebPlanner Programmer's Guide

Utilities.LineIntersect Method

See Also
 


Finds the intersection point of the lines defined by the specified point pairs.

Namespace: MindFusion
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public static PointF LineIntersect (
    PointF m1,
    PointF m2,
    PointF n1,
    PointF n2
)

Visual Basic  Copy Code

Public Shared Function LineIntersect ( _
    m1 As PointF, _
    m2 As PointF, _
    n1 As PointF, _
    n2 As PointF _
) As PointF

 Parameters

m1
m2
n1
n2

 Return Value

The intersection point of the specified lines or PointF(float.MinValue, float.MinValue) if the lines do not intersect.

 See Also