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


In This Topic
    PointsDistanceSquare(NPoint,NPoint) Method
    In This Topic
    Obtains the distance to the power of 2 between the specified points.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function PointsDistanceSquare( _
       ByVal pt1 As NPoint, _
       ByVal pt2 As NPoint _
    ) As System.Integer
    'Usage
     
    
    Dim pt1 As NPoint
    Dim pt2 As NPoint
    Dim value As System.Integer
     
    value = NGeometry2D.PointsDistanceSquare(pt1, pt2)
    public static System.int PointsDistanceSquare( 
       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