CvEllipse2Poly Method OpenCvSharp Class Library
Approximates elliptic arc with polyline

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

public static int Ellipse2Poly(
	CvPoint center,
	CvSize axes,
	int angle,
	int arcStart,
	int arcEnd,
	out CvPoint[] pts,
	int delta
)

Parameters

center
Type: OpenCvSharpCvPoint
Center of the arc.
axes
Type: OpenCvSharpCvSize
Half-sizes of the arc. See cvEllipse.
angle
Type: SystemInt32
Rotation angle of the ellipse in degrees. See cvEllipse.
arcStart
Type: SystemInt32
Starting angle of the elliptic arc.
arcEnd
Type: SystemInt32
Ending angle of the elliptic arc.
pts
Type: OpenCvSharpCvPoint
The array of points, filled by the function.
delta
Type: SystemInt32
Angle between the subsequent polyline vertices, approximation accuracy. So, the total number of output points will ceil((end_angle - start_angle)/delta) + 1 at max.

Return Value

Type: Int32
The function cvEllipse2Poly computes vertices of the polyline that approximates the specified elliptic arc. It is used by cvEllipse. It returns the numbers of output points.
See Also

Reference