You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Interpolations » AVL.AverageAngle
Computes the average of the input angles using points on a unit circle.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void AverageAngle ( IList<float> inAngles, AvlNet.AngleRange inAngleRange, out float outAverageAngle )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inAngles | System.Collections.Generic.IList<float> | |||
![]() | inAngleRange | AvlNet.AngleRange | _0_180 | Default value: _0_180. | |
![]() | outAverageAngle | float |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Empty array on input in AverageAngle. |


