static RectAndMD5 smallestRectAndMD5Containing(L<RectAndMD5> l, int x, int y) {
new Lowest<RectAndMD5> b;
for (RectAndMD5 r : unnull(l))
if (r.r.contains(x, y))
b.put(r, rectPixels(r.r));
ret b!;
}
static RectAndMD5 smallestRectAndMD5Containing(L<RectAndMD5> l, Pt p) {
ret smallestRectAndMD5Containing(l, p.x, p.y);
}Began life as a copy of #1015129
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: | #1015177 |
| Snippet name: | smallestRectAndMD5Containing |
| Eternal ID of this version: | #1015177/4 |
| Text MD5: | fc1628618e29e261cfdec1b78bce7813 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-10 15:36:37 |
| Source code size: | 347 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 815 / 842 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |