Point2D.Distance Method

Computes the distance between two 2D points.
Public Shared Function Distance( _ 
ByVal a As Point2D, _ 
ByVal b As Point2D
) As Double
This language is not supported or no code example is available.
public static double Distance( 
Point2D a
Point2D b 
)
This language is not supported or no code example is available.

Parameters

a
Point2D

First point

b
Point2D

Second point

Return Value

double

The distance between a and b.

.NET Framework

Supported in: 4.8

In this article

Definition