Back to Aurora Vision Studio website
	
                
                    
	
		
	You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Interpolations » MedianAngle
| Module: | FoundationLite | 
|---|
Computes the median angle of the input angles.
Applications
This is a substitute for arithmetic average which cannot be done well for angles. For example the average of 1 and 359 is incorrectly 180 (we think 0).
| Name | Type | Description | |
|---|---|---|---|
![]()  | 
				inAngles | RealArray | |
![]()  | 
				inAngleRange | AngleRange | |
![]()  | 
				outMedianAngle | Real | 
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | Empty array on input in MedianAngle. | 
Complexity Level
This filter is available on Basic Complexity Level.

 Basic
