﻿CvInvoke.PolarToCart Method
 CvInvokePolarToCart Method
http://www.emgu.com
Calculates either x-coordinate, y-coordinate or both of every vector magnitude(I)* exp(angle(I)*j), j=sqrt(-1): x(I)=magnitude(I)*cos(angle(I)), y(I)=magnitude(I)*sin(angle(I))

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
```public static void PolarToCart(
IInputArray magnitude,
IInputArray angle,
IOutputArray x,
IOutputArray y,
bool angleInDegrees = false
)```

#### Parameters

magnitude
Type: Emgu.CVIInputArray
Input floating-point array of magnitudes of 2D vectors; it can be an empty matrix (=Mat()), in this case, the function assumes that all the magnitudes are =1; if it is not empty, it must have the same size and type as angle
angle
Type: Emgu.CVIInputArray
input floating-point array of angles of 2D vectors.
x
Type: Emgu.CVIOutputArray
Output array of x-coordinates of 2D vectors; it has the same size and type as angle.
y
Type: Emgu.CVIOutputArray
Output array of y-coordinates of 2D vectors; it has the same size and type as angle.
angleInDegrees (Optional)
Type: SystemBoolean
The flag indicating whether the angles are measured in radians or in degrees