Function angular::mean_angle [] [src]

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

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.