Nevron .NET Vision
Nevron.GraphicsCore Namespace / NMonochromeRaster Class / FindLargestRectangle Method / FindLargestRectangle() Method


In This Topic
    FindLargestRectangle() Method
    In This Topic
    Finds the largest rectangle containing ones in this monochrome raster.
    Syntax
    'Declaration
     
    
    Public Overloads Function FindLargestRectangle() As NRectangle
    'Usage
     
    
    Dim instance As NMonochromeRaster
    Dim value As NRectangle
     
    value = instance.FindLargestRectangle()
    public NRectangle FindLargestRectangle()
    Remarks
    The algorithm used runs in O(M * N^2) time and O(M) space, where M is the height (number of rows) in the raster and N is its width (number of columns).
    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