(self, c: Point, r: float, a1: float, a2: float)
| 64 | ac: float |
| 65 | |
| 66 | def __init__(self, c: Point, r: float, a1: float, a2: float): |
| 67 | |
| 68 | self.c = c |
| 69 | self.r = r |
| 70 | self.a1 = a1 |
| 71 | self.a2 = a2 |
| 72 | |
| 73 | self.s = Point(r * cos(a1), r * sin(a1)) |
| 74 | self.e = Point(r * cos(a2), r * sin(a2)) |
| 75 | self.ac = 2 * pi - (a1 - a2) |
| 76 | |
| 77 | |
| 78 | def atan2p(x, y): |