MCPcopy Create free account
hub / github.com/breck7/scroll / visible

Function visible

external/.d3.js:10923–10925  ·  view source on GitHub ↗
(lambda, phi)

Source from the content-addressed store, hash-verified

10921 }
10922
10923 function visible(lambda, phi) {
10924 return cos$1(lambda) * cos$1(phi) > cr;
10925 }
10926
10927 // Takes a line and cuts into visible segments. Return values used for polygon
10928 // clipping: 0 - there were intersections or the line was empty; 1 - no

Callers 3

clipLineFunction · 0.85
pointFunction · 0.85
linePointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected