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

Function centroidRingPointFirst

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

Source from the content-addressed store, hash-verified

10272}
10273
10274function centroidRingPointFirst(lambda, phi) {
10275 lambda00 = lambda, phi00 = phi;
10276 lambda *= radians, phi *= radians;
10277 centroidStream$1.point = centroidRingPoint;
10278 var cosPhi = cos$1(phi);
10279 x0$4 = cosPhi * cos$1(lambda);
10280 y0$4 = cosPhi * sin$1(lambda);
10281 z0 = sin$1(phi);
10282 centroidPointCartesian(x0$4, y0$4, z0);
10283}
10284
10285function centroidRingPoint(lambda, phi) {
10286 lambda *= radians, phi *= radians;

Callers

nothing calls this directly

Calls 1

centroidPointCartesianFunction · 0.85

Tested by

no test coverage detected