'Declaration
<ExtensionAttribute()> Public Shared Function Distance( _ ByVal p1 As Point, _ ByVal p2 As Point _ ) As Double
'Usage
Dim p1 As Point Dim p2 As Point Dim value As Double value = Extensions.Distance(p1, p2)
Parameters
- p1
- One point.
- p2
- Another point.