Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NPolygon Class / GetLongestLine Method


In This Topic
    GetLongestLine Method
    In This Topic
    Gets the longest horizontal inner line in the polygon.
    Syntax
    'Declaration
     
    
    Public Function GetLongestLine() As NLineSegment
    'Usage
     
    
    Dim instance As NPolygon
    Dim value As NLineSegment
     
    value = instance.GetLongestLine()
    public NLineSegment GetLongestLine()
    Remarks
    The complexity of the algorithm is O(n * log2(n)).
    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also