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

Function touching_bottom

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

Source from the content-addressed store, hash-verified

853 return False
854
855 def touching_bottom(sname, sbox):
856 b = bottom(sbox)
857 if abs(b - sec_bottom) < 1e-9:
858 return True
859 for oname, obox in expanded_subs.items():
860 if oname == sname:
861 continue
862 if abs(obox["top"] - b) < 1e-9:
863 return True
864 return False
865
866 # Attempt a single pass of expansions, left->right->top->bottom
867 for name in expanded_subs:

Callers 1

Calls 1

bottomFunction · 0.85

Tested by

no test coverage detected