Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NGeometry2D Class / PointsDistanceSquare Method / PointsDistanceSquare(NPoint,NPoint) Method


In This Topic
    PointsDistanceSquare(NPoint,NPoint) Method
    In This Topic
    Calculates the distance between the specified points, raised to the power of 2.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function PointsDistanceSquare( _
       ByVal p1 As NPoint, _
       ByVal p2 As NPoint _
    ) As System.Double
    'Usage
     
    
    Dim p1 As NPoint
    Dim p2 As NPoint
    Dim value As System.Double
     
    value = NGeometry2D.PointsDistanceSquare(p1, p2)
    public static System.double PointsDistanceSquare( 
       NPoint p1,
       NPoint p2
    )

    Parameters

    p1
    p2
    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