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

Function code

explainshell/web/static/js/d3.v3.js:2638–2643  ·  view source on GitHub ↗
(λ, φ)

Source from the content-addressed store, hash-verified

2636 }
2637 }
2638 function code(λ, φ) {
2639 var r = smallRadius ? radius : π - radius, code = 0;
2640 if (λ < -r) code |= 1; else if (λ > r) code |= 2;
2641 if (φ < -r) code |= 4; else if (φ > r) code |= 8;
2642 return code;
2643 }
2644 }
2645 var d3_geo_clipViewMAX = 1e9;
2646 function d3_geo_clipView(x0, y0, x1, y1) {

Callers 1

clipLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected