MCPcopy Create free account
hub / github.com/Layout-Parser/layout-parser / union

Method union

src/layoutparser/elements/layout_elements.py:1276–1277  ·  view source on GitHub ↗
(self, other: BaseCoordElement, strict: bool = True)

Source from the content-addressed store, hash-verified

1274
1275 @mixin_textblock_meta
1276 def union(self, other: BaseCoordElement, strict: bool = True):
1277 return self.block.union(other, strict=strict)
1278
1279 @mixin_textblock_meta
1280 def intersect(self, other: BaseCoordElement, strict: bool = True):

Callers 1

test_shape_operationsFunction · 0.95

Calls 1

unionMethod · 0.45

Tested by 1

test_shape_operationsFunction · 0.76