You are here: Start » AVL.NET » AVS.AngleBetweenVectors Method

AVS.AngleBetweenVectors Method

Measures the angle between two vectors.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AngleBetweenVectors
(
	AvlNet.Vector2D inVector1,
	AvlNet.Vector2D inVector2,
	NullableValue<float> outAbsoluteAngle,
	NullableValue<float> outDirectedAngle
)

Parameters

Name Type Range Default Description
inVector1AvlNet.Vector2DStart vector.
inVector2AvlNet.Vector2DTarget vector.
outAbsoluteAngleAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
outDirectedAngleAvlNet.NullableValue<float> Can be null to skip this parameter calculation.

Function Overrides

See also