MCPcopy Create free account
hub / github.com/alignoth/alignoth / z_

Function z_

resources/vega.min.js:15567–15589  ·  view source on GitHub ↗
(t, e, n, r)

Source from the content-addressed store, hash-verified

15565 : s("Intersect scene must be mark node or group item.");
15566 }
15567 function z_(t, e, n, r) {
15568 if (
15569 (function (t, e, n) {
15570 return (
15571 t.bounds &&
15572 e.intersects(t.bounds) &&
15573 ("group" === t.marktype || (!1 !== t.interactive && (!n || n(t))))
15574 );
15575 })(t, e, n)
15576 ) {
15577 const i = t.items,
15578 o = t.marktype,
15579 a = i.length;
15580 let s = 0;
15581 if ("group" === o) for (; s < a; ++s) N_(i[s], e, n, r);
15582 else
15583 for (const t = Hy[o].isect; s < a; ++s) {
15584 const n = i[s];
15585 O_(n, e, t) && r.push(n);
15586 }
15587 }
15588 return r;
15589 }
15590 function N_(t, e, n, r) {
15591 n && n(t.mark) && O_(t, e, Hy.group.isect) && r.push(t);
15592 const i = t.items,

Callers 2

B_Function · 0.85
N_Function · 0.85

Calls 4

N_Function · 0.85
O_Function · 0.85
intersectsMethod · 0.80
nFunction · 0.70

Tested by

no test coverage detected