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

Function invert

explainshell/web/static/js/d3.v3.js:2891–2894  ·  view source on GitHub ↗
(point)

Source from the content-addressed store, hash-verified

2889 return [ point[0] * k + δx, δy - point[1] * k ];
2890 }
2891 function invert(point) {
2892 point = projectRotate.invert((point[0] - δx) / k, (δy - point[1]) / k);
2893 return point && [ point[0] * d3_degrees, point[1] * d3_degrees ];
2894 }
2895 projection.stream = function(stream) {
2896 return d3_geo_projectionRadiansRotate(rotate, preclip(projectResample(postclip(stream))));
2897 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected