Adds a value to all coordinates of the specified vector.

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 vector,
	float value
)

Parameters

vector
Type: AForge.Math..::.Vector4
Vector to add the specified value to.
value
Type: System..::.Single
Value to add to all coordinates of the vector.

Return Value

Returns new vector with all coordinates increased by the specified value.

See Also