CVBpy 15.0
Ellipse Class Reference

Class representing an ellipse. More...

Inherits object.

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. More...
 
 radius_b = property
 float: Gets or sets the smaller radius of the ellipse. More...
 
 rotation = property
 cvb.Angle: Gets or sets the angle by which the ellipse is rotated.
 

Detailed Description

Class representing an ellipse.

Create an ellipse.

Parameters

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).

Property Documentation

◆ radius_a

radius_a = property
static

float: Gets or sets the larger radius of the ellipse.

If the radius is negative, the absolute value is used.

◆ radius_b

radius_b = property
static

float: Gets or sets the smaller radius of the ellipse.

If the radius is negative, the absolute value is used.