Click or drag to resize

Vector2Distance Method

Returns the Euclidean distance between the two given points.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static double Distance(
	Vector2 value1,
	Vector2 value2
)

Parameters

value1
Type: Karamba.GeometryVector2
The first point.
value2
Type: Karamba.GeometryVector2
The second point.

Return Value

Type: Double
The distance.
See Also