MCPcopy Index your code
hub / github.com/plotly/plotly.js / boxEmpty

Function boxEmpty

stackgl_modules/index.js:6310–6317  ·  view source on GitHub ↗
(d, box)

Source from the content-addressed store, hash-verified

6308var boxIntersectIter = __webpack_require__(7150)
6309
6310function boxEmpty(d, box) {
6311 for(var j=0; j<d; ++j) {
6312 if(!(box[j] <= box[j+d])) {
6313 return true
6314 }
6315 }
6316 return false
6317}
6318
6319//Unpack boxes into a flat typed array, remove empty boxes
6320function convertBoxes(boxes, d, data, ids) {

Callers 1

convertBoxesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…