Returns the distance between the two points
Namespace:
C1.XamlAssembly: C1.Xaml (in C1.Xaml.dll)
Syntax
| C# |
|---|
public static double Distance( this Point p1, Point p2 ) |
| Visual Basic |
|---|
<ExtensionAttribute> _ Public Shared Function Distance ( _ p1 As Point, _ p2 As Point _ ) As Double |
Parameters
- p1
- Type: Point
One point.
- p2
- Type: Point
Another point.