Returns the distance between the two points

Namespace:  C1.Xaml
Assembly:  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.

Return Value

See Also