(item, box)
| 98659 | } |
| 98660 | |
| 98661 | function intersectRule(item, box) { |
| 98662 | const x = item.x || 0, |
| 98663 | y = item.y || 0, |
| 98664 | x2 = item.x2 != null ? item.x2 : x, |
| 98665 | y2 = item.y2 != null ? item.y2 : y; |
| 98666 | return intersectBoxLine(box, x, y, x2, y2); |
| 98667 | } |
| 98668 | |
| 98669 | function intersectBoxLine(box, x, y, u, v) { |
| 98670 | const { |
nothing calls this directly
no test coverage detected