Point3D.DistanceSquared Method

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

Parameters

a
Point3D

First point

b
Point3D

Second point

Return Value

double

The squared distance between a and b.

.NET Framework

Supported in: 4.8

In this article

Definition