assertNoOverlap

Asserts that two nodes have usable bounds and do not overlap; touching edges are allowed.

Empty, clipped-away, and nonfinite bounds fail rather than passing because they have no intersection.

Parameters

first

One node.

second

The other node.

Throws

with both frames when either is unusable or they overlap.