Returns the distance between the two points
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.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: System.Windows..::..Point
One point.
- p2
- Type: System.Windows..::..Point
Another point.