CvCartToPolar Method (CvArr, CvArr, CvArr, CvArr) OpenCvSharp Class Library
Calculates magnitude and/or angle of 2d vectors

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void CartToPolar(
	CvArr x,
	CvArr y,
	CvArr magnitude,
	CvArr angle
)

Parameters

x
Type: OpenCvSharpCvArr
The array of x-coordinates
y
Type: OpenCvSharpCvArr
The array of y-coordinates
magnitude
Type: OpenCvSharpCvArr
The destination array of magnitudes, may be set to null if it is not needed
angle
Type: OpenCvSharpCvArr
The destination array of angles, may be set to null if it is not needed. The angles are measured in radians (0..2π) or in degrees (0..360°).
See Also

Reference