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

Function d3_geo_clipSort

explainshell/web/static/js/d3.v3.js:2479–2481  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

2477 return area;
2478 }
2479 function d3_geo_clipSort(a, b) {
2480 return ((a = a.point)[0] < 0 ? a[1] - π / 2 - ε : π / 2 - a[1]) - ((b = b.point)[0] < 0 ? b[1] - π / 2 - ε : π / 2 - b[1]);
2481 }
2482 var d3_geo_clipAntimeridian = d3_geo_clip(d3_true, d3_geo_clipAntimeridianLine, d3_geo_clipAntimeridianInterpolate);
2483 function d3_geo_clipAntimeridianLine(listener) {
2484 var λ0 = NaN, φ0 = NaN, sλ0 = NaN, clean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected