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

Function streamLine

external/.d3.js:9895–9900  ·  view source on GitHub ↗
(coordinates, stream, closed)

Source from the content-addressed store, hash-verified

9893};
9894
9895function streamLine(coordinates, stream, closed) {
9896 var i = -1, n = coordinates.length - closed, coordinate;
9897 stream.lineStart();
9898 while (++i < n) coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);
9899 stream.lineEnd();
9900}
9901
9902function streamPolygon(coordinates, stream) {
9903 var i = -1, n = coordinates.length;

Callers 2

.d3.jsFile · 0.85
streamPolygonFunction · 0.85

Calls 3

lineStartMethod · 0.45
pointMethod · 0.45
lineEndMethod · 0.45

Tested by

no test coverage detected