MCPcopy Create free account
hub / github.com/breck7/scroll / centroidPoint

Function centroidPoint

external/.d3.js:11734–11738  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

11732};
11733
11734function centroidPoint(x, y) {
11735 X0 += x;
11736 Y0 += y;
11737 ++Z0;
11738}
11739
11740function centroidLineStart() {
11741 centroidStream.point = centroidPointFirstLine;

Callers 4

centroidPointFirstLineFunction · 0.85
centroidPointLineFunction · 0.85
centroidPointFirstRingFunction · 0.85
centroidPointRingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected