Function mean_angle

Source
pub fn mean_angle<T: Float>(angles: &[Angle<T>]) -> Angle<T>
Expand description

Compute the approximate mean of a list of angles by averaging the Cartesian coordinates of the angles on the unit circle. Return the normalized angle.