Vector4::Distance Method

Computes the Euclidean distance between the two given points.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static float Distance(
	Vector4 value1, 
	Vector4 value2
)

Parameters

value1
Type: System.Numerics::Vector4

The first point.

value2
Type: System.Numerics::Vector4

The second point.

Return Value

Type: System::Single
The distance.
Show: