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

Function eC

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

Source from the content-addressed store, hash-verified

22547 }
22548 }
22549 function eC(t, e) {
22550 var n = t.x,
22551 r = t.y,
22552 i = t.r,
22553 o = e.x,
22554 a = e.y,
22555 s = e.r,
22556 u = o - n,
22557 l = a - r,
22558 c = s - i,
22559 f = Math.sqrt(u * u + l * l);
22560 return {
22561 x: (n + o + (u / f) * c) / 2,
22562 y: (r + a + (l / f) * c) / 2,
22563 r: (f + i + s) / 2,
22564 };
22565 }
22566 function nC(t, e, n) {
22567 var r = t.x,
22568 i = t.y,

Callers 2

JDFunction · 0.85
tCFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected