Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SLiCAP/SLiCAP_python
/ _pt_key
Function
_pt_key
SLiCAP/schematic/junction_item.py:10–11 ·
view source on GitHub ↗
(pt: QPointF)
Source
from the content-addressed store, hash-verified
8
9
10
def
_pt_key(pt: QPointF) -> tuple:
11
return
(round(pt.x()), round(pt.y()))
12
13
14
class
JunctionItem(QGraphicsEllipseItem):
Callers
1
_rubber_band_wires
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected