Circle#

class Circle(center: complex, radius: float)#

Bases: object

Representation of a geometric circle in the complex plane.

Attributes:
center (Any): The center of the circle, typically represented as a complex number or

a coordinate pair (depending on the context of usage).

radius (float): The radius of the circle, defining its size and extent.

__init__(center: complex, radius: float)#

Represents a circle characterized by a center point and a radius.

Attributes:

center: A complex number representing the circle’s center. radius: A float representing the radius of the circle.

Methods

__init__(center, radius)

Represents a circle characterized by a center point and a radius.

length()

Return the circumference of the circle.

length()#

Return the circumference of the circle.