MCPcopy Create free account
hub / github.com/idank/explainshell / d3_geo_streamPolygon

Function d3_geo_streamPolygon

explainshell/web/static/js/d3.v3.js:2062–2067  ·  view source on GitHub ↗
(coordinates, listener)

Source from the content-addressed store, hash-verified

2060 listener.lineEnd();
2061 }
2062 function d3_geo_streamPolygon(coordinates, listener) {
2063 var i = -1, n = coordinates.length;
2064 listener.polygonStart();
2065 while (++i < n) d3_geo_streamLine(coordinates[i], listener, 1);
2066 listener.polygonEnd();
2067 }
2068 d3.geo.area = function(object) {
2069 d3_geo_areaSum = 0;
2070 d3.geo.stream(object, d3_geo_area);

Callers 1

d3.v3.jsFile · 0.85

Calls 1

d3_geo_streamLineFunction · 0.85

Tested by

no test coverage detected