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 Vector3 Add(
	Vector3 vector1,
	Vector3 vector2
)

Parameters

vector1
Type: AForge.Math..::.Vector3
The vector to add to.
vector2
Type: AForge.Math..::.Vector3
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