Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Segment2D Class / IntersectionAndT Method
First line
Second line
Intersection point (when it exists)

In This Topic
    IntersectionAndT Method
    In This Topic
    Computes the intersection of two 2D segments.
    Syntax
    'Declaration
     
    Public Shared Function IntersectionAndT( _
       ByVal s1 As Segment2D, _
       ByVal s2 As Segment2D, _
       ByRef i0 As Point2D _
    ) As Boolean
    public static bool IntersectionAndT( 
       Segment2D s1,
       Segment2D s2,
       out Point2D i0
    )

    Parameters

    s1
    First line
    s2
    Second line
    i0
    Intersection point (when it exists)

    Return Value

    True if the intersection exists, false otherwise (parallel disjoint or disjoint).
    Remarks
    Here we return true even when the intersection is on the boundary of one of the two segments.
    See Also