You are here: Start » AVL.NET » Invoke.AngleBetweenDirections
Measures the rotation angle from first to second direction.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void AngleBetweenDirections ( float inDirection1, float inDirection2, Optional<Avl.RotationDirection> inRotationDirection, Avl.AngleRange inAngleRange, Optional<float> outAbsoluteAngle, Optional<float> outDirectedAngle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inDirection1 | float | Start direction. | ||
![]() | inDirection2 | float | Target direction. | ||
![]() | inRotationDirection | Atl.Optional<Avl.RotationDirection> | Clockwise, counter-clockwise or automatic (by smaller angle). Default value: atl::NIL. | ||
![]() | inAngleRange | Avl.AngleRange | _0_180 | Switches between ranges <0; 90), <0; 180) and <0; 360). Default value: _0_180. | |
![]() | outAbsoluteAngle | Atl.Optional<float> | Angle value used for measurements <0; 360>. | ||
![]() | outDirectedAngle | Atl.Optional<float> | Angle value used for clockwise transformations <-360; 360>. |