Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Interpolations » AverageAngle
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Computes the average of the input angles using points on a unit circle.
Syntax
C++
C#
void avl::AverageAngle ( const atl::Array<float>& inAngles, avl::AngleRange::Type inAngleRange, float& outAverageAngle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inAngles | const Array<float>& | |||
inAngleRange | AngleRange::Type | _0_180 | ||
outAverageAngle | float& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array on input in AverageAngle. |