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

Function recordPositions

src/components/shapes/display_outlines.js:345–357  ·  view source on GitHub ↗
(polygonsOut, polygonsIn)

Source from the content-addressed store, hash-verified

343};
344
345function recordPositions(polygonsOut, polygonsIn) {
346 for(var i = 0; i < polygonsIn.length; i++) {
347 var cell = polygonsIn[i];
348 polygonsOut[i] = [];
349 for(var j = 0; j < cell.length; j++) {
350 polygonsOut[i][j] = [];
351 for(var k = 0; k < cell[j].length; k++) {
352 polygonsOut[i][j][k] = cell[j][k];
353 }
354 }
355 }
356 return polygonsOut;
357}
358
359function getNextPoint(cell, j) {
360 var x = cell[j][1];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…