Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Interpolations » AverageAngle
AverageAngle
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes the average of the input angles using points on a unit circle.
Syntax
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. |