You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Ellipse class describes an ellipse through its major and minor radii and the plane it occupies.
- `firstRadius` (float): The first (major) radius of the ellipse.
- `secondRadius` (float): The second (minor) radius of the ellipse.
- `plane` (Plane): The plane in which the ellipse lies.
Methods
__id__(self): Returns the ID of the Ellipse.
__str__(self) -> str: Generates a string representation of the Ellipse object.
Documentation
__id__(self)
Returns the ID of the Ellipse.
Returns:
str: The ID of the Ellipse in the format "id:{self.id}".
__str__(self) -> str
Generates a string representation of the Ellipse object.