(self, other: Line)
| 240 | return a * y - b * x |
| 241 | |
| 242 | def dot(self, other: Line) -> float: |
| 243 | a, b, _ = self.coefficients |
| 244 | x, y, _ = other.coefficients |
| 245 | return a * x + b * y |
| 246 | |
| 247 | def point_at(self, x: float = None, y: float = None) -> Optional[Point]: |
| 248 | """Get a point on line closest to (x, y).""" |
no outgoing calls
no test coverage detected