MCPcopy Create free account
hub / github.com/PJLab-ADG/OASim / plotArea

Method plotArea

limsim/simModel/common/carFactory.py:510–518  ·  view source on GitHub ↗
(self, node: dpg.node, ex: float, ey: float, ctf: CoordTF)

Source from the content-addressed store, hash-verified

508 self.radius = radius
509
510 def plotArea(self, node: dpg.node, ex: float, ey: float, ctf: CoordTF):
511 cx, cy = ctf.qtCoord(self.x, self.y, ex, ey)
512 dpg.draw_circle(
513 (cx, cy),
514 ctf.zoomScale*self.radius,
515 thickness=0,
516 fill=(243, 156, 18, 20),
517 parent=node
518 )

Callers 3

drawSceMethod · 0.80
drawSceMethod · 0.80
drawSceneMethod · 0.80

Calls 1

qtCoordMethod · 0.80

Tested by

no test coverage detected