| 4616 | }; |
| 4617 | } |
| 4618 | function d3_geom_quadtreeVisit(f, node, x1, y1, x2, y2) { |
| 4619 | if (!f(node, x1, y1, x2, y2)) { |
| 4620 | var sx = (x1 + x2) * .5, sy = (y1 + y2) * .5, children = node.nodes; |
| 4621 | if (children[0]) d3_geom_quadtreeVisit(f, children[0], x1, y1, sx, sy); |
| 4622 | if (children[1]) d3_geom_quadtreeVisit(f, children[1], sx, y1, x2, sy); |
| 4623 | if (children[2]) d3_geom_quadtreeVisit(f, children[2], x1, sy, sx, y2); |
| 4624 | if (children[3]) d3_geom_quadtreeVisit(f, children[3], sx, sy, x2, y2); |
| 4625 | } |
| 4626 | } |
| 4627 | d3.interpolateRgb = d3_interpolateRgb; |
| 4628 | function d3_interpolateRgb(a, b) { |
| 4629 | a = d3.rgb(a); |