MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / code

Function code

d3-3.2.8/d3.js:2891–2896  ·  view source on GitHub ↗
(λ, φ)

Source from the content-addressed store, hash-verified

2889 }
2890 }
2891 function code(λ, φ) {
2892 var r = smallRadius ? radius : π - radius, code = 0;
2893 if (λ < -r) code |= 1; else if (λ > r) code |= 2;
2894 if (φ < -r) code |= 4; else if (φ > r) code |= 8;
2895 return code;
2896 }
2897 function polygonContains(polygon) {
2898 return d3_geo_pointInPolygon(point, polygon);
2899 }

Callers 1

clipLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected