Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / Extensions Class / Distance Method
One point.
Another point.

In This Topic
    Distance Method (Extensions)
    In This Topic
    Returns the distance between the two points
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Shared Function Distance( _
       ByVal p1 As Point, _
       ByVal p2 As Point _
    ) As Double
    [Extension()]
    public static double Distance( 
       Point p1,
       Point p2
    )

    Parameters

    p1
    One point.
    p2
    Another point.
    See Also