|
GeometryToolsGetAngleBetweenVectors Method
|
Calculate angle between to vectors measured in [0, 180] degrees range.
Namespace:
Accord.Math.Geometry
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static float GetAngleBetweenVectors(
Point startPoint,
Point vector1end,
Point vector2end
)
Public Shared Function GetAngleBetweenVectors (
startPoint As Point,
vector1end As Point,
vector2end As Point
) As Single
Request Example
View SourceParameters
- startPoint
- Type: AccordPoint
Starting point of both vectors. - vector1end
- Type: AccordPoint
Ending point of the first vector. - vector2end
- Type: AccordPoint
Ending point of the second vector.
Return Value
Type:
SingleReturns angle between specified vectors measured in degrees.
See Also