You are here: Start » AVL.NET » AVL.AngleBetweenDirections(float, float, AvlNet.RotationDirection?, AvlNet.AngleRange, float, float)
AVL.AngleBetweenDirections(float, float, AvlNet.RotationDirection?, AvlNet.AngleRange, float, float)
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void AngleBetweenDirections( float inDirection1, float inDirection2, AvlNet.RotationDirection? inRotationDirection, AvlNet.AngleRange inAngleRange, out float outAbsoluteAngle, out float outDirectedAngle )
Parameters
- inDirection1
- Type: System.Single
- inDirection2
- Type: System.Single
- inRotationDirection
- Type: System.Nullable<AvlNet.RotationDirection>
- inAngleRange
- Type: AvlNet.AngleRange
- outAbsoluteAngle
- Type: System.Single
- outDirectedAngle
- Type: System.Single
Description
Direction is a number in the range of <0, 180) or <0, 360). This is controlled with the inAngleRange input. The angle is computed from first to second direction clockwise or counter-clockwise. If the rotation direction is not specified, chosen is the one that produces smaller absolute angle.
Examples

