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

Function visible

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

Source from the content-addressed store, hash-verified

2550 var cr = Math.cos(radius), smallRadius = cr > 0, notHemisphere = Math.abs(cr) > ε, interpolate = d3_geo_circleInterpolate(radius, 6 * d3_radians);
2551 return d3_geo_clip(visible, clipLine, interpolate);
2552 function visible(λ, φ) {
2553 return Math.cos(λ) * Math.cos(φ) > cr;
2554 }
2555 function clipLine(listener) {
2556 var point0, c0, v0, v00, clean;
2557 return {

Callers 3

clipLineFunction · 0.85
pointFunction · 0.85
linePointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected