You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Interpolations » AVL.AverageAngle

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
inAnglesSystem.Collections.Generic.IList<float>
inAngleRangeAvlNet.AngleRange_0_180Default value: _0_180.
outAverageAnglefloat

Errors

List of possible exceptions:

Error type Description
DomainError Empty array on input in AverageAngle.

See also