(self, point: Point)
| 278 | return d1 * d2 > 0 |
| 279 | |
| 280 | def sign(self, point: Point) -> int: |
| 281 | s = self(point.x, point.y) |
| 282 | if s > 0: |
| 283 | return 1 |
| 284 | elif s < 0: |
| 285 | return -1 |
| 286 | return 0 |
| 287 | |
| 288 | def is_same(self, other: Line) -> bool: |
| 289 | a, b, c = self.coefficients |