Class representing an ellipse. More...
Public Member Functions | |
| None | Ellipse (self, cvb.Point2D center, float radius_a, float radius_b, cvb.Angle rotation) |
| Create an ellipse. | |
Properties | |
| center = property | |
| cvb.Point2D: Gets or sets the center of the ellipse. | |
| radius_a = property | |
| float: Gets or sets the larger radius of the ellipse. | |
| radius_b = property | |
| float: Gets or sets the smaller radius of the ellipse. | |
| rotation = property | |
| cvb.Angle: Gets or sets the angle by which the ellipse is rotated. | |
Class representing an ellipse.
| None Ellipse | ( | self, | |
| cvb.Point2D | center, | ||
| float | radius_a, | ||
| float | radius_b, | ||
| cvb.Angle | rotation ) |
Create an ellipse.
center : cvb.Point2D Center of the ellipse.
radius_a : float Larger radius of the ellipse.
radius_b : float Smaller radius of the ellipse.
rotation : cvb.Angle Angle by which the ellipse is rotated (auto trimmed).
|
static |
float: Gets or sets the larger radius of the ellipse.
If the radius is negative, the absolute value is used.
|
static |
float: Gets or sets the smaller radius of the ellipse.
If the radius is negative, the absolute value is used.