Nevron .NET Vision
Nevron.GraphicsCore Namespace / NGeometry2D Class / PointsDistance Method / PointsDistance(NPoint,NPoint) Method


In This Topic
    PointsDistance(NPoint,NPoint) Method
    In This Topic
    Obtains the distance between the specified points.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function PointsDistance( _
       ByVal pt1 As NPoint, _
       ByVal pt2 As NPoint _
    ) As System.Single
    'Usage
     
    
    Dim pt1 As NPoint
    Dim pt2 As NPoint
    Dim value As System.Single
     
    value = NGeometry2D.PointsDistance(pt1, pt2)
    public static System.float PointsDistance( 
       NPoint pt1,
       NPoint pt2
    )

    Parameters

    pt1
    pt2
    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