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

Function centroidLinePointFirst

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

Source from the content-addressed store, hash-verified

10233}
10234
10235function centroidLinePointFirst(lambda, phi) {
10236 lambda *= radians, phi *= radians;
10237 var cosPhi = cos$1(phi);
10238 x0$4 = cosPhi * cos$1(lambda);
10239 y0$4 = cosPhi * sin$1(lambda);
10240 z0 = sin$1(phi);
10241 centroidStream$1.point = centroidLinePoint;
10242 centroidPointCartesian(x0$4, y0$4, z0);
10243}
10244
10245function centroidLinePoint(lambda, phi) {
10246 lambda *= radians, phi *= radians;

Callers

nothing calls this directly

Calls 1

centroidPointCartesianFunction · 0.85

Tested by

no test coverage detected