Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRectangle Structure / Intersection Method / Intersection(NRectangle,NRectangle,NRectangle) Method


In This Topic
    Intersection(NRectangle,NRectangle,NRectangle) Method
    In This Topic
    Returns a third rectangle that represents the intersection of two rectangles. If there is no intersection, the method returns false.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Intersection( _
       ByVal a As NRectangle, _
       ByVal b As NRectangle, _
       ByRef result As NRectangle _
    ) As System.Boolean
    'Usage
     
    
    Dim a As NRectangle
    Dim b As NRectangle
    Dim result As NRectangle
    Dim value As System.Boolean
     
    value = NRectangle.Intersection(a, b, result)
    public static System.bool Intersection( 
       NRectangle a,
       NRectangle b,
       out NRectangle result
    )

    Parameters

    a
    b
    result
    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