MCPcopy Create free account
hub / github.com/idank/explainshell / boundPoint

Function boundPoint

explainshell/web/static/js/d3.v3.js:2124–2129  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

2122 }
2123 };
2124 function boundPoint(x, y) {
2125 if (x < x0) x0 = x;
2126 if (x > x1) x1 = x;
2127 if (y < y0) y0 = y;
2128 if (y > y1) y1 = y;
2129 }
2130 function boundPolygonLineEnd() {
2131 bound.point = bound.lineEnd = d3_noop;
2132 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected