English
@eightkk/vue-weave / core / graphRectsIntersect
Function: graphRectsIntersect()
graphRectsIntersect(
a,b):boolean
Defined in: src/core/graphView.ts:55
Whether the interiors of two rectangles overlap: on each axis, each rectangle starts strictly before the other ends (open intervals, compared exactly, without a tolerance). Rectangles that only touch, along an edge or at a corner, do not intersect. A rectangle of zero width or height (a segment or a point) intersects a rectangle whose interior it passes through, but not one whose border it only lies on, and never another zero-size rectangle at the same place.
Parameters
a
b
Returns
boolean