Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NPointList Class / GetNearestPoint Method


In This Topic
    GetNearestPoint Method (NPointList)
    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 Function GetNearestPoint( _
       ByVal pt As NPoint _
    ) As NPoint
    'Usage
     
    
    Dim instance As NPointList
    Dim pt As NPoint
    Dim value As NPoint
     
    value = instance.GetNearestPoint(pt)
    public NPoint GetNearestPoint( 
       NPoint pt
    )

    Parameters

    pt
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, 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)

    See Also