MCPcopy Index your code
hub / github.com/clips/pattern / is_hoverlap

Method is_hoverlap

pattern/web/pdf/layout.py:98–100  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

96 return self.width <= 0 or self.height <= 0
97
98 def is_hoverlap(self, obj):
99 assert isinstance(obj, LTComponent)
100 return obj.x0 <= self.x1 and self.x0 <= obj.x1
101
102 def hdistance(self, obj):
103 assert isinstance(obj, LTComponent)

Callers 3

hdistanceMethod · 0.95
hoverlapMethod · 0.95
get_textlinesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected