Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPolygonF Class / GetConvexHull Method


In This Topic
    GetConvexHull Method
    In This Topic
    Computes the convex hull of the polygon using the Graham Scan algorithm. Returns the points forming the convex hull in counterclockwise order.
    Syntax
    'Declaration
     
    
    Public Function GetConvexHull() As NPointF()
    'Usage
     
    
    Dim instance As NPolygonF
    Dim value() As NPointF
     
    value = instance.GetConvexHull()
    public NPointF[] GetConvexHull()

    Return Value

    The points forming the convex hull in counterclockwise order.
    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