You are here: Start » AVL.NET » AVS.AngleBetweenDirections Method
AVS.AngleBetweenDirections Method
Measures the rotation angle from first to second direction.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void AngleBetweenDirections ( float inDirection1, float inDirection2, AvlNet.AngleRange inAngleRange, NullableValue<float> outAbsoluteAngle, NullableValue<float> outDirectedAngle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inDirection1 | float | Start direction. | |||
inDirection2 | float | Target direction. | |||
inAngleRange | AvlNet.AngleRange | _0_180 | Switches between ranges <0; 90), <0; 180) and <0; 360) | ||
outAbsoluteAngle | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. | |||
outDirectedAngle | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. |
Function Overrides
- AngleBetweenDirections(Single, Single, Nullable<RotationDirection>, AngleRange, Single, Single)
- AngleBetweenDirections(Single, Single, Nullable<RotationDirection>, AngleRange, NullableValue<Single>, NullableValue<Single>)