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

Function begin2dCell

src/traces/isosurface/convert.js:629–636  ·  view source on GitHub ↗
(style, p00, p01, p10, p11, min, max, isEven, previousResult)

Source from the content-addressed store, hash-verified

627 }
628
629 function begin2dCell(style, p00, p01, p10, p11, min, max, isEven, previousResult) {
630 // used to create caps and/or slices on exact axis points
631 if(isEven) {
632 return addRect(style, p00, p01, p11, p10, min, max, previousResult);
633 } else {
634 return addRect(style, p01, p11, p10, p00, min, max, previousResult);
635 }
636 }
637
638 function beginSection(style, i, j, k, min, max, distRatios) {
639 // used to create slices between axis points

Callers 3

draw2dXFunction · 0.85
draw2dYFunction · 0.85
draw2dZFunction · 0.85

Calls 1

addRectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…