Returns the distance between the two points
Syntax
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function Distance( _
ByVal As System.Windows.Point, _
ByVal As System.Windows.Point _
) As System.Double
'Usage
Dim p1 As System.Windows.Point
Dim p2 As System.Windows.Point
Dim value As System.Double
value = Extensions.Distance(p1, p2)
[System.Runtime.CompilerServices.Extension()]
public static System.double Distance(
System.Windows.Point ,
System.Windows.Point
)
Parameters
- p1
- One point.
- p2
- Another point.
See Also