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