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

Function d3_geo_pathAreaRingStart

explainshell/web/static/js/d3.v3.js:3324–3337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3322 }
3323 };
3324 function d3_geo_pathAreaRingStart() {
3325 var x00, y00, x0, y0;
3326 d3_geo_pathArea.point = function(x, y) {
3327 d3_geo_pathArea.point = nextPoint;
3328 x00 = x0 = x, y00 = y0 = y;
3329 };
3330 function nextPoint(x, y) {
3331 d3_geo_pathAreaPolygon += y0 * x - x0 * y;
3332 x0 = x, y0 = y;
3333 }
3334 d3_geo_pathArea.lineEnd = function() {
3335 nextPoint(x00, y00);
3336 };
3337 }
3338 function d3_geo_pathBuffer() {
3339 var pointCircle = d3_geo_pathCircle(4.5), buffer = [];
3340 var stream = {

Callers

nothing calls this directly

Calls 1

nextPointFunction · 0.85

Tested by

no test coverage detected