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

Function JD

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

Source from the content-addressed store, hash-verified

22503 VD = 1013904223,
22504 XD = 4294967296;
22505 function JD(t, e) {
22506 var n, r;
22507 if (KD(e, t)) return [e];
22508 for (n = 0; n < t.length; ++n)
22509 if (ZD(e, t[n]) && KD(eC(t[n], e), t)) return [t[n], e];
22510 for (n = 0; n < t.length - 1; ++n)
22511 for (r = n + 1; r < t.length; ++r)
22512 if (
22513 ZD(eC(t[n], t[r]), e) &&
22514 ZD(eC(t[n], e), t[r]) &&
22515 ZD(eC(t[r], e), t[n]) &&
22516 KD(nC(t[n], t[r], e), t)
22517 )
22518 return [t[n], t[r], e];
22519 throw new Error();
22520 }
22521 function ZD(t, e) {
22522 var n = t.r - e.r,
22523 r = e.x - t.x,

Callers 1

sCFunction · 0.85

Calls 4

KDFunction · 0.85
ZDFunction · 0.85
eCFunction · 0.85
nCFunction · 0.85

Tested by

no test coverage detected