Click or drag to resize
DigitalRuneVector2DAdd Method
Adds two vectors.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static Vector2D Add(
	Vector2D vector1,
	Vector2D vector2
)

Parameters

vector1
Type: DigitalRune.Mathematics.AlgebraVector2D
The first vector.
vector2
Type: DigitalRune.Mathematics.AlgebraVector2D
The second vector.

Return Value

Type: Vector2D
The sum of the two vectors.
See Also