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, AvlNet.RotationDirection? inRotationDirection, out float outAbsoluteAngle, out float outDirectedAngle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inVector1 | AvlNet.Vector2D | Start vector. | |||
inVector2 | AvlNet.Vector2D | Target vector. | |||
inRotationDirection | AvlNet.RotationDirection? | Clockwise, counter-clockwise or automatic (by smaller angle). Default value: atl::NIL. | |||
outAbsoluteAngle | float | Angle value used for measurements <0; 360> | |||
outDirectedAngle | float | Angle value used for clockwise transformations <-360; 360> |
Function Overrides
- AngleBetweenVectors(Vector2D, Vector2D, NullableValue<Single>, NullableValue<Single>)
- AngleBetweenVectors(Vector2D, Vector2D, Nullable<RotationDirection>, NullableValue<Single>, NullableValue<Single>)