Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRectangle Structure / IntersectWith Method
line segment with which to intersect
resulting intersection points (valid only if the method returned true


In This Topic
    IntersectWith Method (NRectangle)
    In This Topic
    Intersects this rectangle with the specified line segment
    Syntax
    'Declaration
     
    
    Public Function IntersectWith( _
       ByVal line As NLineSegment, _
       ByRef intersectionPoints As NPointList _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NRectangle
    Dim line As NLineSegment
    Dim intersectionPoints As NPointList
    Dim value As System.Boolean
     
    value = instance.IntersectWith(line, intersectionPoints)
    public System.bool IntersectWith( 
       NLineSegment line,
       out NPointList intersectionPoints
    )

    Parameters

    line
    line segment with which to intersect
    intersectionPoints
    resulting intersection points (valid only if the method returned true

    Return Value

    true if this rectangle intersects with the line segment, otherwise false
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also