Calculates cartesian coordinates of 2d vectors represented in polar form
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void PolarToCart( CvArr magnitude, CvArr angle, CvArr x, CvArr y, AngleUnit unit )
Parameters
- magnitude
- Type: OpenCvSharpCvArr
The array of magnitudes. If it is null, the magnitudes are assumed all 1’s. - angle
- Type: OpenCvSharpCvArr
The array of angles, whether in radians or degrees. - x
- Type: OpenCvSharpCvArr
The destination array of x-coordinates, may be set to null if it is not needed. - y
- Type: OpenCvSharpCvArr
The destination array of y-coordinates, mau be set to null if it is not needed. - unit
- Type: OpenCvSharpAngleUnit
The flag indicating whether the angles are measured in radians, which is default mode, or in degrees.
See Also