Click or drag to resize

UtilDistance(Vector2, Vector2) Method

The distance between the two supplied points.

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public static double Distance(
	Vector2 a,
	Vector2 b
)

Parameters

a  Vector2
The first point.
b  Vector2
The second point.

Return Value

Double
The distance between the two points.
See Also