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

Function polygonLineStart

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

Source from the content-addressed store, hash-verified

2840 stream.lineEnd();
2841 }
2842 function polygonLineStart() {
2843 var λ00, φ00, x00, y00, a00, b00, c00;
2844 lineStart();
2845 resample.point = function(λ, φ) {
2846 linePoint(λ00 = λ, φ00 = φ), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;
2847 resample.point = linePoint;
2848 };
2849 resample.lineEnd = function() {
2850 resampleLineTo(x0, y0, λ0, a0, b0, c0, x00, y00, λ00, a00, b00, c00, maxDepth, stream);
2851 resample.lineEnd = lineEnd;
2852 lineEnd();
2853 };
2854 }
2855 return resample;
2856 }
2857 function resampleLineTo(x0, y0, λ0, a0, b0, c0, x1, y1, λ1, a1, b1, c1, depth, stream) {

Callers

nothing calls this directly

Calls 4

lineStartFunction · 0.85
linePointFunction · 0.85
resampleLineToFunction · 0.85
lineEndFunction · 0.85

Tested by

no test coverage detected