MCPcopy Create free account
hub / github.com/plotly/plotly.js / insertGridPoints

Function insertGridPoints

src/traces/isosurface/convert.js:870–884  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

868 }
869
870 function insertGridPoints() {
871 for(var i = 0; i < width; i++) {
872 for(var j = 0; j < height; j++) {
873 for(var k = 0; k < depth; k++) {
874 var index = getIndex(i, j, k);
875 addVertex(
876 data._x[index],
877 data._y[index],
878 data._z[index],
879 data._value[index]
880 );
881 }
882 }
883 }
884 }
885
886 function drawAll() {
887 emptyVertices();

Callers 1

drawAllFunction · 0.85

Calls 2

addVertexFunction · 0.85
getIndexFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…