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

Function getCenter

src/traces/isosurface/convert.js:232–238  ·  view source on GitHub ↗
(A, B, C)

Source from the content-addressed store, hash-verified

230 }
231
232 function getCenter(A, B, C) {
233 var M = [];
234 for(var i = 0; i < A.length; i++) {
235 M[i] = (A[i] + B[i] + C[i]) / 3.0;
236 }
237 return M;
238 }
239
240 function getBetween(A, B, r) {
241 var M = [];

Callers 1

createOpenTriFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…