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

Function d3_geo_centroidLineEnd

explainshell/web/static/js/d3.v3.js:2217–2219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2215 }
2216 }
2217 function d3_geo_centroidLineEnd() {
2218 d3_geo_centroid.point = d3_geo_centroidPoint;
2219 }
2220 function d3_geo_cartesian(spherical) {
2221 var λ = spherical[0], φ = spherical[1], cosφ = Math.cos(φ);
2222 return [ cosφ * Math.cos(λ), cosφ * Math.sin(λ), Math.sin(φ) ];

Callers 1

d3_geo_centroidRingStartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected