[][src]Function opencv::core::fast_atan2

pub fn fast_atan2(y: f32, x: f32) -> Result<f32>

Calculates the angle of a 2D vector in degrees.

The function fastAtan2 calculates the full-range angle of an input 2D vector. The angle is measured in degrees and varies from 0 to 360 degrees. The accuracy is about 0.3 degrees.

Parameters

  • x: x-coordinate of the vector.
  • y: y-coordinate of the vector.