Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Geometry 2D Interpolations »
MedianAngle
Computes the median angle of the input angles.
Syntax
C++
C#
void avl::MedianAngle
(
const atl::Array<float>& inAngles,
avl::AngleRange::Type inAngleRange,
float& outMedianAngle
)
void MedianAngle
(
float[] inAngles,
AngleRange inAngleRange,
out float outMedianAngle
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inAngles |
const Array<float>& |
|
|
 |
inAngleRange |
AngleRange::Type |
|
|
 |
outMedianAngle |
float& |
|
|
Errors
| Error type |
Description |
| DomainError |
Empty array on input in MedianAngle. |