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

Function Dm

resources/vega.min.js:12991–12997  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

12989 return e.contains(t.x || 0, t.y || 0);
12990 }
12991 function Dm(t, e) {
12992 const n = t.x || 0,
12993 r = t.y || 0,
12994 i = t.width || 0,
12995 o = t.height || 0;
12996 return e.intersects(Am.set(n, r, n + i, r + o));
12997 }
12998 function Cm(t, e) {
12999 const n = t.x || 0,
13000 r = t.y || 0;

Callers

nothing calls this directly

Calls 2

intersectsMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected