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

Function reset

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

Source from the content-addressed store, hash-verified

2932 };
2933 d3.rebind(projection, projectResample, "precision");
2934 function reset() {
2935 projectRotate = d3_geo_compose(rotate = d3_geo_rotation(δλ, δφ, δγ), project);
2936 var center = project(λ, φ);
2937 δx = x - center[0] * k;
2938 δy = y + center[1] * k;
2939 return projection;
2940 }
2941 return function() {
2942 project = projectAt.apply(this, arguments);
2943 projection.invert = project.invert && invert;

Callers 1

d3_geo_projectionMutatorFunction · 0.85

Calls 2

d3_geo_composeFunction · 0.85
d3_geo_rotationFunction · 0.85

Tested by

no test coverage detected