Click or drag to resize
Accord.NET (logo)

ToolsDirection Method

Gets the displacement angle between two points, coded as an integer varying from 0 to 20.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static int Direction(
	IntPoint previous,
	IntPoint next
)
Request Example View Source

Parameters

previous
Type: AccordIntPoint
next
Type: AccordIntPoint

Return Value

Type: Int32
See Also