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

Function longitude

external/.d3.js:10626–10628  ·  view source on GitHub ↗
(point)

Source from the content-addressed store, hash-verified

10624}
10625
10626function longitude(point) {
10627 return abs$1(point[0]) <= pi$1 ? point[0] : sign$1(point[0]) * ((abs$1(point[0]) + pi$1) % tau$1 - pi$1);
10628}
10629
10630function polygonContains(polygon, point) {
10631 var lambda = longitude(point),

Callers 1

polygonContainsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected