// TODO: optimize static bool anyRectsOverlap(L<Rect> l) { for (int i = 0; i < l(l); i++) { Rect a = l.get(i); for (int j = i+1; j < l(l); j++) if (rectsOverlap(a, l.get(j))) true; } false; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009153 |
Snippet name: | anyRectsOverlap |
Eternal ID of this version: | #1009153/3 |
Text MD5: | 81c9db0ea66e066f27617c3fb0442e54 |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-06 01:23:17 |
Source code size: | 228 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 555 / 604 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1015489 - dropOverlappingRects |