Adds corresponding coordinates of two vectors.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static Vector4 Add(
	Vector4 vector1,
	Vector4 vector2
)

Parameters

vector1
Type: AForge.Math..::.Vector4
The vector to add to.
vector2
Type: AForge.Math..::.Vector4
The vector to add to the first vector.

Return Value

Returns a vector which coordinates are equal to sum of corresponding coordinates of the two specified vectors.

See Also