Lumicron Documentation
DocumentationAPI referenceValidationlv.testing.assert_no_overlap

lv.testing.assert_no_overlap

Fail if any two polygons on layer overlap (positive area intersection). Uses shapely’s unary_union — if the sum of individual areas exceeds the union area by more than a tiny epsilon, there’s an overlap, and we extract the intersection regions for the failure overlay.

lv.testing.assert_no_overlap(target: 'Any', layer: 'Any') -> 'None'

Search documentation

Type to search all guides and API references.

↑ ↓ to select · Enter to open · Esc to close