Click or drag to resize

Cv2Ellipse2Poly Method (Point, Size, Int32, Int32, Int32, Int32)

Approximates an elliptic arc with a polyline. The function ellipse2Poly computes the vertices of a polyline that approximates the specified elliptic arc. It is used by cv::ellipse.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Point[] Ellipse2Poly(
	Point center,
	Size axes,
	int angle,
	int arcStart,
	int arcEnd,
	int delta
)

Parameters

center
Type: OpenCvSharpPoint
Center of the arc.
axes
Type: OpenCvSharpSize
Half of the size of the ellipse main axes. See the ellipse for details.
angle
Type: SystemInt32
Rotation angle of the ellipse in degrees. See the ellipse for details.
arcStart
Type: SystemInt32
Starting angle of the elliptic arc in degrees.
arcEnd
Type: SystemInt32
Ending angle of the elliptic arc in degrees.
delta
Type: SystemInt32
Angle between the subsequent polyline vertices. It defines the approximation

Return Value

Type: Point
Output vector of polyline vertices.
See Also