| 25331 | } |
| 25332 | } |
| 25333 | _cell(t) { |
| 25334 | const { |
| 25335 | circumcenters: e, |
| 25336 | delaunay: { inedges: n, halfedges: r, triangles: i }, |
| 25337 | } = this, |
| 25338 | o = n[t]; |
| 25339 | if (-1 === o) return null; |
| 25340 | const a = []; |
| 25341 | let s = o; |
| 25342 | do { |
| 25343 | const n = Math.floor(s / 3); |
| 25344 | if ( |
| 25345 | (a.push(e[2 * n], e[2 * n + 1]), |
| 25346 | (s = s % 3 == 2 ? s - 2 : s + 1), |
| 25347 | i[s] !== t) |
| 25348 | ) |
| 25349 | break; |
| 25350 | s = r[s]; |
| 25351 | } while (s !== o && -1 !== s); |
| 25352 | return a; |
| 25353 | } |
| 25354 | _clip(t) { |
| 25355 | if (0 === t && 1 === this.delaunay.hull.length) |
| 25356 | return [ |