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

Function lengthPoint

external/.d3.js:11869–11873  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

11867}
11868
11869function lengthPoint(x, y) {
11870 x0 -= x, y0 -= y;
11871 lengthSum.add(sqrt$2(x0 * x0 + y0 * y0));
11872 x0 = x, y0 = y;
11873}
11874
11875var pathMeasure = lengthStream;
11876

Callers 1

.d3.jsFile · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected