Click or drag to resize

Cv2Ellipse2Poly Method (Point2d, Size2d, 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 Point2d[] Ellipse2Poly(
	Point2d center,
	Size2d axes,
	int angle,
	int arcStart,
	int arcEnd,
	int delta
)

Parameters

center
Type: OpenCvSharpPoint2d
Center of the arc.
axes
Type: OpenCvSharpSize2d
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: Point2d
Output vector of polyline vertices.
See Also