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

Function addRect

src/traces/isosurface/convert.js:620–627  ·  view source on GitHub ↗
(style, a, b, c, d, min, max, previousResult)

Source from the content-addressed store, hash-verified

618 }
619
620 function addRect(style, a, b, c, d, min, max, previousResult) {
621 return [
622 (previousResult[0] === true) ? true :
623 tryCreateTri(style, getXYZV([a, b, c]), [a, b, c], min, max),
624 (previousResult[1] === true) ? true :
625 tryCreateTri(style, getXYZV([c, d, a]), [c, d, a], min, max)
626 ];
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

Callers 1

begin2dCellFunction · 0.85

Calls 2

tryCreateTriFunction · 0.85
getXYZVFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…