(
self, jid: str, widget: QWidget, ex: float, ey: float, ctf: CoordTF)
| 445 | |
| 446 | |
| 447 | def plotJunction( |
| 448 | self, jid: str, widget: QWidget, ex: float, ey: float, ctf: CoordTF): |
| 449 | junction = self.getJunction(jid) |
| 450 | polyShape = [ctf.qtCoord(p[0], p[1], ex, ey) for p in junction.shape] |
| 451 | widget.drawPolyline(polyShape, QColor(255, 255, 255, 70), 2) |
| 452 | # graphics_items.append(graphicsItem('polyline', polyShape, QColor(255, 255, 255, 70), QColor(0, 0, 0), 2)) |
| 453 | |
| 454 | for jl in junction.JunctionLanes: |
| 455 | self.plotJunctionLane(jl, widget, ex, ey, ctf) |
| 456 | |
| 457 | def plotScene(self, widget: QWidget, ex:float, ey:float, ctf: CoordTF, is_selectable: bool = False): |
| 458 | if self.edges: |
no test coverage detected