Click or drag to resize

CalculationsDistance Method (Vector2D, Vector2D)

Calculates the distace between the specified vectors in the 2D space.

Namespace:  LightBuzz
Assembly:  LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static float Distance(
	Vector2D start,
	Vector2D end
)

Parameters

start
Type: LightBuzzVector2D
The starting point/vector.
end
Type: LightBuzzVector2D
The end point/vector.

Return Value

Type: Single
The distance between the vectors in the measurement units used.
See Also