Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRectangleF Structure / IntersectWith Method
line segment with which to intersect
resulting intersection points (valid only if the method returned true


In This Topic
    IntersectWith Method (NRectangleF)
    In This Topic
    Intersects this rectangle with the specified line segment
    Syntax
    'Declaration
     
    
    Public Function IntersectWith( _
       ByVal line As NLineSegmentF, _
       ByRef intersectionPoints As NPointFList _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NRectangleF
    Dim line As NLineSegmentF
    Dim intersectionPoints As NPointFList
    Dim value As System.Boolean
     
    value = instance.IntersectWith(line, intersectionPoints)
    public System.bool IntersectWith( 
       NLineSegmentF line,
       out NPointFList 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 7, 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