http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Calculates either x-coodinate, 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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static void cvPolarToCart( IntPtr magnitude, IntPtr angle, IntPtr x, IntPtr y, int angleInDegrees ) |
Visual Basic |
---|
Public Shared Sub cvPolarToCart ( _ magnitude As IntPtr, _ angle As IntPtr, _ x As IntPtr, _ y As IntPtr, _ angleInDegrees As Integer _ ) |
Visual C++ |
---|
public: static void cvPolarToCart( IntPtr magnitude, IntPtr angle, IntPtr x, IntPtr y, int angleInDegrees ) |
Parameters
- magnitude
- Type: System..::..IntPtr
The array of magnitudes. If it is IntPtr.Zero, the magnitudes are assumed all 1's
- angle
- Type: System..::..IntPtr
The array of angles, whether in radians or degrees
- x
- Type: System..::..IntPtr
The destination array of x-coordinates, may be set to IntPtr.Zero if it is not needed
- y
- Type: System..::..IntPtr
The destination array of y-coordinates, mau be set to IntPtr.Zero if it is not needed
- angleInDegrees
- Type: System..::..Int32
The flag indicating whether the angles are measured in radians or in degrees