MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / touching_right

Function touching_right

utils/wei_utils.py:834–843  ·  view source on GitHub ↗
(sname, sbox)

Source from the content-addressed store, hash-verified

832 return False
833
834 def touching_right(sname, sbox):
835 r = right(sbox)
836 if abs(r - sec_right) < 1e-9:
837 return True
838 for oname, obox in expanded_subs.items():
839 if oname == sname:
840 continue
841 if abs(obox["left"] - r) < 1e-9:
842 return True
843 return False
844
845 def touching_top(sname, sbox):
846 if abs(sbox["top"] - sec_top) < 1e-9:

Callers 1

Calls 1

rightFunction · 0.85

Tested by

no test coverage detected