Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPolygonF Class / GetLongestLine Method / GetLongestLine() Method


In This Topic
    GetLongestLine() Method
    In This Topic
    Gets the longest horizontal inner line in the polygon.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetLongestLine() As NLineSegmentF
    'Usage
     
    
    Dim instance As NPolygonF
    Dim value As NLineSegmentF
     
    value = instance.GetLongestLine()
    public NLineSegmentF GetLongestLine()
    Remarks
    The complexity of the algorithm is O(n * log2(n)).
    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