Vector2::Distance Method
Computes the Euclidean distance between the two given points.
Namespace: System.Numerics
Assembly: System.Numerics.Vectors (in System.Numerics.Vectors.dll)
Parameters
- value1
- Type: System.Numerics::Vector2
The first point.
- value2
- Type: System.Numerics::Vector2
The second point.
Show: