OrientedCircularArc#

class OrientedCircularArc(center, radius, theta1, theta2, reversed=False)#

Bases: CircularArc

__init__(center, radius, theta1, theta2, reversed=False)#

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, theta1, theta2[, ...])

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

angle()

length()

Return the circumference of the circle.

set_orientation(start_point, end_point)

Set the orientation so that the point at angle theta1 is closer to start_point and point at angle theta2 is closer to end_point.

shorten(length, side[, inplace])

Shorten arc from side 'A' (start) or 'B' (end).

Attributes

A

B

length()#

Return the circumference of the circle.

set_orientation(start_point, end_point)#

Set the orientation so that the point at angle theta1 is closer to start_point and point at angle theta2 is closer to end_point.

shorten(length, side, inplace=False)#

Shorten arc from side ‘A’ (start) or ‘B’ (end).