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

AVL.MedianAngle

Computes the median angle of the input angles.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void MedianAngle
(
	IList<float> inAngles,
	AvlNet.AngleRange inAngleRange,
	out float outMedianAngle
)

Parameters

Name Type Range Default Description
inAnglesSystem.Collections.Generic.IList<float>
inAngleRangeAvlNet.AngleRange_0_180Default value: _0_180.
outMedianAnglefloat

Errors

List of possible exceptions:

Error type Description
DomainError Empty array on input in MedianAngle.

See also