Returns distance between two points.

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Shared Function Distance( _ 
ByVal point1 As DPoint, _ 
ByVal point2 As DPoint
) As Double
This language is not supported or no code example is available.
public static double Distance( 
DPoint point1
DPoint point2 
)
This language is not supported or no code example is available.

Parameters

point1

Type: DPoint

The first point.

point2

Type: DPoint

The second point.

Return Value

double dinstance.

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, WIndows10

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4, NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1, NET6