chunk-JQUWFKNU.js 632 B

1234567891011121314151617181920212223242526272829
  1. import {
  2. e
  3. } from "./chunk-U2XHEJM7.js";
  4. // node_modules/@arcgis/core/views/2d/tiling/TileCoverage.js
  5. var l = class {
  6. constructor() {
  7. this.spans = [];
  8. }
  9. acquire(o) {
  10. this.lodInfo = o;
  11. }
  12. release() {
  13. this.lodInfo = null, this.spans.length = 0;
  14. }
  15. forEach(o, l2) {
  16. const { spans: s, lodInfo: t } = this, { level: e2 } = t;
  17. if (0 !== s.length)
  18. for (const { row: r, colFrom: n, colTo: c } of s)
  19. for (let s2 = n; s2 <= c; s2++)
  20. o.call(l2, e2, r, t.normalizeCol(s2), t.getWorldForColumn(s2));
  21. }
  22. };
  23. l.pool = new e(l);
  24. export {
  25. l
  26. };
  27. //# sourceMappingURL=chunk-JQUWFKNU.js.map