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


In This Topic
    GetMinimumEnclosingCircle Method
    In This Topic
    Computes the minimal enclosing circle (a.k.a the bomb problem) using the Welzl's algorithm.
    Syntax
    'Declaration
     
    
    Public Function GetMinimumEnclosingCircle() As NCircleF
    'Usage
     
    
    Dim instance As NPolygonF
    Dim value As NCircleF
     
    value = instance.GetMinimumEnclosingCircle()
    public NCircleF GetMinimumEnclosingCircle()

    Return Value

    The minimal enclosing circle.
    Remarks
    The complexity of the algorithm is O(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