CVBpy 15.1
Loading...
Searching...
No Matches

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.
 

Detailed Description

Class representing an ellipse.

Constructor & Destructor Documentation

◆ Ellipse()

None Ellipse ( self,
cvb.Point2D center,
float radius_a,
float radius_b,
cvb.Angle rotation )

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.