| 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
)
Public Shared Function Ellipse2Poly (
center As Point2d,
axes As Size2d,
angle As Integer,
arcStart As Integer,
arcEnd As Integer,
delta As Integer
) As Point2d()
public:
static array<Point2d>^ Ellipse2Poly(
Point2d center,
Size2d axes,
int angle,
int arcStart,
int arcEnd,
int delta
)
static member Ellipse2Poly :
center : Point2d *
axes : Size2d *
angle : int *
arcStart : int *
arcEnd : int *
delta : int -> Point2d[]
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:
Point2dOutput vector of polyline vertices.
See Also