Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPointDList Class / GetNearestPoint Method / GetNearestPoint(NPointD) Method


In This Topic
    GetNearestPoint(NPointD) Method
    In This Topic
    Gets the point in the list, which is nearest to the specified point. If the list is empty returns the point itself
    Syntax
    'Declaration
     
    
    Public Overloads Function GetNearestPoint( _
       ByVal pt As NPointD _
    ) As NPointD
    'Usage
     
    
    Dim instance As NPointDList
    Dim pt As NPointD
    Dim value As NPointD
     
    value = instance.GetNearestPoint(pt)
    public NPointD GetNearestPoint( 
       NPointD pt
    )

    Parameters

    pt
    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