Calculate angle between to vectors measured in [0, 180] degrees range.

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

Syntax

C#
public static float GetAngleBetweenVectors(
	Point startPoint,
	Point vector1end,
	Point vector2end
)

Parameters

startPoint
Type: AForge..::.Point
Starting point of both vectors.
vector1end
Type: AForge..::.Point
Ending point of the first vector.
vector2end
Type: AForge..::.Point
Ending point of the second vector.

Return Value

Returns angle between specified vectors measured in degrees.

See Also