Calculates dot product 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 float Dot(
	Vector3 vector1,
	Vector3 vector2
)

Parameters

vector1
Type: AForge.Math..::.Vector3
First vector to use for dot product calculation.
vector2
Type: AForge.Math..::.Vector3
Second vector to use for dot product calculation.

Return Value

Returns dot product of the two specified vectors.

See Also