MCPcopy Create free account
hub / github.com/microsoft/SandDance / lines

Function lines

docs/app/js/sanddance-app.js:133277–133283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133275 };
133276 }
133277 function lines() {
133278 return (0, _d3Array.range)((0, _mathJs.ceil)(X0 / DX) * DX, X1, DX).map(X).concat((0, _d3Array.range)((0, _mathJs.ceil)(Y0 / DY) * DY, Y1, DY).map(Y)).concat((0, _d3Array.range)((0, _mathJs.ceil)(x0 / dx) * dx, x1, dx).filter(function(x) {
133279 return (0, _mathJs.abs)(x % DX) > (0, _mathJs.epsilon);
133280 }).map(x3)).concat((0, _d3Array.range)((0, _mathJs.ceil)(y0 / dy) * dy, y1, dy).filter(function(y) {
133281 return (0, _mathJs.abs)(y % DY) > (0, _mathJs.epsilon);
133282 }).map(y3));
133283 }
133284 graticule1.lines = function() {
133285 return lines().map(function(coordinates) {
133286 return {

Callers 2

graticule1Function · 0.70
graticuleFunction · 0.70

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected