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


In This Topic
    PointsDistance(Single,Single,Single,Single) Method
    In This Topic
    Computes the distance between the specified points.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function PointsDistance( _
       ByVal x1 As System.Single, _
       ByVal y1 As System.Single, _
       ByVal x2 As System.Single, _
       ByVal y2 As System.Single _
    ) As System.Single
    'Usage
     
    
    Dim x1 As System.Single
    Dim y1 As System.Single
    Dim x2 As System.Single
    Dim y2 As System.Single
    Dim value As System.Single
     
    value = NGeometry2D.PointsDistance(x1, y1, x2, y2)
    public static System.float PointsDistance( 
       System.float x1,
       System.float y1,
       System.float x2,
       System.float y2
    )

    Parameters

    x1
    y1
    x2
    y2
    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